Changeset 30599 for trunk/ippScripts/scripts/diff_skycell.pl
- Timestamp:
- Feb 13, 2011, 11:02:55 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/diff_skycell.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/diff_skycell.pl
r28593 r30599 117 117 } 118 118 119 # ppSub does (input) - (template) after PSF-match convolution. 120 # one of the files needs to be assigned to 'input' and the other to 'template'. 121 # if either of these is a WARP, then we can perform magic on it. If we are going to 122 # run magic, then we need to save the convolved version of the OTHER image 123 # (see magic_process.pl:155) 124 119 125 foreach my $file (@$files) { 120 126 if (defined $file->{template} and $file->{template}) { 121 # $template = $file->{uri};122 127 $templatePath = $file->{path_base}; 123 128 if ($file->{warp_id} == 0) { … … 142 147 $templateSources = "PSWARP.OUTPUT.SOURCES"; 143 148 $templateMagic = $file->{magicked}; 144 $saveRefConv = 1; 145 } 146 } else { 147 # $input = $file->{uri}; 149 $saveInConv = 1; 150 } 151 } else { 148 152 $inputPath = $file->{path_base}; 149 153 $inputMagic = $file->{magicked}; # if input is a stack the output can't be "magicked" … … 165 169 $inputVariance = "PSWARP.OUTPUT.VARIANCE"; 166 170 $inputSources = "PSWARP.OUTPUT.SOURCES"; 167 $save InConv = 1;171 $saveRefConv = 1; 168 172 } 169 173 }
Note:
See TracChangeset
for help on using the changeset viewer.
