Changeset 21085 for trunk/ippScripts/scripts/magic_destreak.pl
- Timestamp:
- Jan 4, 2009, 12:32:32 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/magic_destreak.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/magic_destreak.pl
r20941 r21085 176 176 my $image = $uri; 177 177 178 my ($mask, $ weight, $astrom);178 my ($mask, $ch_mask, $weight, $astrom); 179 179 180 180 if ($stage eq "raw") { 181 181 $astrom = $ipprc->filename("PSASTRO.OUTPUT", $cam_path_base); 182 182 } elsif ($stage eq "chip") { 183 $mask = $ipprc->filename("PPIMAGE.CHIP.MASK", $path_base, $class_id); 183 # we use the mask output from the camera stage for input and replace 184 # the output of the chip stage with that mask as well. 185 $mask = $ipprc->filename("PSASTRO.OUTPUT.MASK", $cam_path_base, $class_id); 186 $ch_mask= $ipprc->filename("PPIMAGE.CHIP.MASK", $path_base, $class_id); 184 187 $weight = $ipprc->filename("PPIMAGE.CHIP.WEIGHT", $path_base, $class_id); 185 188 $astrom = $ipprc->filename("PSASTRO.OUTPUT", $cam_path_base); … … 198 201 $command .= " -astrom $astrom" if defined $astrom; 199 202 $command .= " -mask $mask" if defined $mask; 203 $command .= " -chip_mask $ch_mask" if defined $ch_mask; 200 204 $command .= " -weight $weight" if defined $weight; 201 205 $command .= " -skycelllist $skycell_list" if defined $skycell_list;
Note:
See TracChangeset
for help on using the changeset viewer.
