IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 10, 2006, 8:52:00 AM (20 years ago)
Author:
eugene
Message:

updating bg_stdev, bg_mean_stdev tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/detrend_resid.pl

    r9446 r9457  
    115115
    116116# Add the processed file to the database
     117# XXX I think this has the names "bg_stdev" and "bg_mean_stdev" exchanged
     118#     bg_stdev : standard deviation of the background
     119#     bg_mean_stdev : standard deviation of the background means
    117120$outputName = File::Spec->abs2rel ($outputName, $ipprc->workdir() );
    118121$bin1Name = File::Spec->abs2rel( $bin1Name, $ipprc->workdir() );
     
    123126        "-b2_uri $bin2Name"; # Command to run dettool
    124127    $command .= " -bg " . $stats->bg_mean();
     128
     129    # XXX note bg_stdev <--> bg_mean_stdev
    125130    if (defined($stats->bg_stdev())) {
    126         $command .= " -bg_stdev " . $stats->bg_stdev();
     131        $command .= " -bg_mean_stdev " . $stats->bg_stdev();
    127132    } else {
    128133        # May be undefined if there is only a single imfile
    129134        $command .= ' -bg_stdev 0';
    130135    }
    131     $command .= " -bg_mean_stdev " . $stats->bg_mean_stdev();
     136
     137    # XXX note bg_stdev <--> bg_mean_stdev
     138    $command .= " -bg_stdev " . $stats->bg_mean_stdev();
    132139
    133140    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note: See TracChangeset for help on using the changeset viewer.