Changeset 23183 for trunk/ippScripts/scripts/detrend_process_imfile.pl
- Timestamp:
- Mar 4, 2009, 12:13:48 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_process_imfile.pl
r22430 r23183 81 81 my $jpeg_recipe = $ipprc->reduction($reduction, uc($det_type) . '_JPEG_IMAGE'); # Recipe name for JPEG 82 82 83 # The output file rule name depends on the detrend type 84 my $FILERULES = { 'FLATMASK' => undef, 85 'DARKMASK' => undef, 86 'MASK' => undef, 87 'BIAS' => undef, 88 'DARK' => undef, 89 'DARK_PREMASK' => undef, 90 'SHUTTER' => 'PPIMAGE.OUTPUT.DETREND', 91 'FLAT_PREMASK' => 'PPIMAGE.OUTPUT.DETREND', 92 'DOMEFLAT_PREMASK' => 'PPIMAGE.OUTPUT.DETREND', 93 'SKYFLAT_PREMASK' => 'PPIMAGE.OUTPUT.DETREND', 94 'FLAT_RAW' => 'PPIMAGE.OUTPUT.DETREND', 95 'DOMEFLAT_RAW' => 'PPIMAGE.OUTPUT.DETREND', 96 'SKYFLAT_RAW' => 'PPIMAGE.OUTPUT.DETREND', 97 'FLAT' => 'PPIMAGE.OUTPUT.DETREND', 98 'DOMEFLAT' => 'PPIMAGE.OUTPUT.DETREND', 99 'SKYFLAT' => 'PPIMAGE.OUTPUT.DETREND', 100 'FRINGE' => undef, 101 }; 102 83 103 &my_die("Couldn't find input file: $input_uri\n", $det_id, $exp_id, $class_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($input_uri); 84 104 … … 105 125 $command .= " -recipe PPSTATS DETSTATS"; 106 126 $command .= " -stats $outputStats"; 127 $command .= " -F PPIMAGE.OUTPUT $FILERULES{$det_type}" if defined $FILERULES{$det_type}; 128 107 129 $command .= " -tracedest $traceDest -log $logDest"; 108 130 $command .= " -threads $threads" if defined $threads;
Note:
See TracChangeset
for help on using the changeset viewer.
