Changeset 9457 for trunk/ippScripts/scripts/detrend_resid.pl
- Timestamp:
- Oct 10, 2006, 8:52:00 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_resid.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_resid.pl
r9446 r9457 115 115 116 116 # 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 117 120 $outputName = File::Spec->abs2rel ($outputName, $ipprc->workdir() ); 118 121 $bin1Name = File::Spec->abs2rel( $bin1Name, $ipprc->workdir() ); … … 123 126 "-b2_uri $bin2Name"; # Command to run dettool 124 127 $command .= " -bg " . $stats->bg_mean(); 128 129 # XXX note bg_stdev <--> bg_mean_stdev 125 130 if (defined($stats->bg_stdev())) { 126 $command .= " -bg_ stdev " . $stats->bg_stdev();131 $command .= " -bg_mean_stdev " . $stats->bg_stdev(); 127 132 } else { 128 133 # May be undefined if there is only a single imfile 129 134 $command .= ' -bg_stdev 0'; 130 135 } 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(); 132 139 133 140 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note:
See TracChangeset
for help on using the changeset viewer.
