IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10321


Ignore:
Timestamp:
Nov 30, 2006, 12:56:28 PM (20 years ago)
Author:
Paul Price
Message:

Fixing up bg_stdev vs bg_mean_stdev confusion --- problem was fixed in
PS::IPP::Metadata::Stats, so shouldn't be 'fixed' in the code.

File:
1 edited

Legend:

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

    r9892 r10321  
    123123
    124124# Add the processed file to the database
    125 # XXX I think this has the names "bg_stdev" and "bg_mean_stdev" exchanged
    126 #     bg_stdev : standard deviation of the background
    127 #     bg_mean_stdev : standard deviation of the background means
    128125$outputName = File::Spec->abs2rel ($outputName, $ipprc->workdir() );
    129126$bin1Name = File::Spec->abs2rel( $bin1Name, $ipprc->workdir() );
     
    135132    $command .= " -bg " . $stats->bg_mean();
    136133
    137     # XXX note bg_stdev <--> bg_mean_stdev
    138     if (defined($stats->bg_stdev())) {
    139         $command .= " -bg_mean_stdev " . $stats->bg_stdev();
     134    if (defined($stats->bg_mean_stdev())) {
     135        $command .= " -bg_mean_stdev " . $stats->bg_mean_stdev();
    140136    } else {
    141137        # May be undefined if there is only a single imfile
     
    143139    }
    144140
    145     # XXX note bg_stdev <--> bg_mean_stdev
    146     $command .= " -bg_stdev " . $stats->bg_mean_stdev();
     141    $command .= " -bg_stdev " . $stats->bg_stdev();
    147142
    148143    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note: See TracChangeset for help on using the changeset viewer.