IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32760


Ignore:
Timestamp:
Nov 22, 2011, 12:35:57 PM (15 years ago)
Author:
rhenders
Message:

removed anaysis option. no one uses it; added psps option for plotting ippToPsps stages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/czartool/czarplot.pl

    r32325 r32760  
    2727my $nebulous = undef;
    2828my $savingToFile = undef;
    29 my $analysis = undef;
    3029my $exposureId = undef;
    3130my $log = undef;
     31my $psps = undef;
    3232
    3333GetOptions (
     
    4545        "nebulous|n" => \$nebulous,
    4646        "rate|r" => \$rate,
    47         "analysis|a" => \$analysis,
    4847        "timeseries|t" => \$timeSeries,
    4948        "verbose|v" => \$verbose,
    5049        "log|g" => \$log,
     50        "psps|i" => \$psps,
    5151        );
    5252
     
    5858    print "* UNKNKOWN: option                          @ARGV\n";
    5959}
    60 if ($analysis && !$stage) {
    61     $quit = 1;
    62     print "* REQUIRED: choose a stage for analsis      -s <chip|cam|warp|etc>      (default=none)\n";}
    6360if (!$histogram) {
    6461    print "* OPTIONAL: plot histogram                  -h                          (default=off)\n";}
     
    7168if (!$rate) {
    7269    print "* OPTIONAL: plot histogram of rate          -r                          (default=off)\n";}
    73 if (!$analysis) {
    74     $analysis = 0;
    75     print "* OPTIONAL: include analysis                -a                          (default=$analysis)\n";}
    7670if (!$log) {
    7771    $log = 0;
     
    9791    print "* OPTIONAL: choose an output location       -o <path>                   (default=none)\n";
    9892}
     93if (!$psps) {
     94    print "* OPTIONAL: plot ippToPsps stages           -i                          (default=off)\n";}
    9995print "*\n*******************************************************************************\n";
    10096
     
    104100
    105101# default values
    106 if (!$rate && !$magicMask && !$nebulous && !$histogram && !$analysis && !$timeSeries) {$timeSeries = 1;}
     102if (!$rate && !$magicMask && !$nebulous && !$histogram && !$timeSeries) {$timeSeries = 1;}
    107103if (!$verbose) {$verbose = 0;}
    108104if (!$save_temps) {$save_temps = 0;}
     
    123119    $plotter = czartool::Plotter->new_display($config, $save_temps);
    124120}
     121
     122if ($psps) {$plotter->setIppToPspsMode();}
    125123
    126124# if a single day has been chosen
     
    177175}
    178176
    179 if($analysis) {
    180 
    181     my $stageMetrics = new czartool::StageMetrics($stage, $label, $begin, $end);
    182     if ($czarDb->runAnalysis($stageMetrics)) {$stageMetrics->printMe();}
    183 }
Note: See TracChangeset for help on using the changeset viewer.