Changeset 27180 for trunk/ippScripts/scripts/detrend_resid_exp.pl
- Timestamp:
- Mar 3, 2010, 5:29:07 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_resid_exp.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_resid_exp.pl
r24764 r27180 134 134 foreach my $norm (@$normsMD) { 135 135 my $class_id = $norm->{class_id}; 136 my $normalization = 1.0 / $norm->{norm};136 my $normalization = 1.0 / $norm->{norm}; 137 137 138 138 $norms{$class_id} = $normalization; … … 197 197 # modify and save the data in this block: 198 198 foreach my $data (@$mdComponents) { 199 my $norm = 1.0;200 if ($det_mode eq "master") {201 $norm = $norms{$class_id};202 }199 my $norm = 1.0; 200 if ($det_mode eq "master") { 201 $norm = $norms{$class_id}; 202 } 203 203 204 204 # fields to modify by the normalization: … … 272 272 &my_die("Unable to run ppImage: $error_code", $det_id, $iter, $exp_id, $error_code); 273 273 } 274 &my_die("Unable to find expected output file: $jpeg1Name", $det_id, $iter, $exp_id, $PS_EXIT_SYS_ERROR) unless -f $ipprc->file_resolve($jpeg1Name);274 &my_die("Unable to find expected output file: $jpeg1Name", $det_id, $iter, $exp_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($jpeg1Name); 275 275 276 276 # Make the jpeg for binning 2 … … 287 287 &my_die("Unable to run ppImage: $error_code", $det_id, $iter, $exp_id, $error_code); 288 288 } 289 &my_die("Unable to find expected output file: $jpeg2Name", $det_id, $iter, $exp_id, $PS_EXIT_SYS_ERROR) unless -f $ipprc->file_resolve($jpeg2Name);289 &my_die("Unable to find expected output file: $jpeg2Name", $det_id, $iter, $exp_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($jpeg2Name); 290 290 } 291 291
Note:
See TracChangeset
for help on using the changeset viewer.
