Changeset 29983
- Timestamp:
- Dec 9, 2010, 6:05:43 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/magic_destreak_revert.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/magic_destreak_revert.pl
r29573 r29983 191 191 $image = $ipprc->filename("PPIMAGE.CHIP", $path_base, $class_id); 192 192 $weight = $ipprc->filename("PPIMAGE.CHIP.VARIANCE", $path_base, $class_id); 193 $sources = $ipprc->filename("PSPHOT.OUTPUT", $path_base, $class_id);194 193 195 194 # we use the mask output from the camera stage for input and replace … … 204 203 } 205 204 205 # only revert sources if this is a new run, not one being updated 206 if ($run_state eq 'new') { 207 $sources = $ipprc->filename("PSPHOT.OUTPUT", $path_base, $class_id); 208 $bsources = $ipprc->filename("PSPHOT.OUTPUT", $backup_path_base, $class_id); 209 } 210 206 211 $bimage = $ipprc->filename("PPIMAGE.CHIP", $backup_path_base, $class_id); 207 212 # This is somewhat kludgey but it works whether the mask is camera mask or chip mask … … 209 214 $bch_mask= $ipprc->filename("PPIMAGE.CHIP.MASK", $backup_path_base, $class_id); 210 215 $bweight = $ipprc->filename("PPIMAGE.CHIP.VARIANCE", $backup_path_base, $class_id); 211 $bsources = $ipprc->filename("PSPHOT.OUTPUT", $backup_path_base, $class_id);212 216 } elsif ($stage eq "camera") { 213 217 $astrom = $ipprc->filename("PSASTRO.OUTPUT", $path_base);
Note:
See TracChangeset
for help on using the changeset viewer.
