IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 15, 2010, 12:34:37 PM (16 years ago)
Author:
rhenders
Message:

Added first derivative plots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/czarplot.pl

    r29375 r29437  
    2323my $timeSeries = undef;
    2424my $rate = undef;
     25my $deriv = undef;
    2526my $showCleanup = undef;
    2627my $nebulous = undef;
     
    2930
    3031GetOptions (
    31         "dbname|d=s" => \$czarDbName,
     32        "dbname=s" => \$czarDbName,
    3233        "label|l=s" => \$label,
    3334        "stage|s=s" => \$stage,
     
    4142        "cleanup|c" => \$showCleanup,
    4243        "rate|r" => \$rate,
     44        "deriv|d" => \$deriv,
    4345        "timeseries|t" => \$timeSeries,
    4446        "verbose|v" => \$verbose,
     
    5961if (!$rate) {
    6062    print "* OPTIONAL: plot timeseries of rate         -r                          (default=off)\n";}
     63if (!$deriv) {
     64    $deriv = 0;
     65    print "* OPTIONAL: plot first derivative           -d                          (default=$deriv)\n";}
    6166if (!$showCleanup) {
    6267    $showCleanup = 0;
     
    97102$czarDb->setDateFormat("%Y%m%d-%H%i%s");
    98103
     104
    99105my $plotter = new czartool::Plotter(
    100106        $czarDb,
     
    128134    exit;
    129135}
    130 if (!$nebulous && $timeSeries) {$plotter->createTimeSeries($label, $stage, $begin, $end, $log, $showCleanup);}
     136if (!$nebulous && $timeSeries) {$plotter->createTimeSeries($label, $stage, $begin, $end, $log, $showCleanup, $deriv);}
    131137if ($histogram) {$plotter->createHistogram($label, $begin, $end);}
    132138if ($nebulous && $timeSeries) {$plotter->plotStorageTimeSeries($begin, $end);}
Note: See TracChangeset for help on using the changeset viewer.