Changeset 31154 for trunk/psphot/src/psphotStackParseCamera.c
- Timestamp:
- Apr 4, 2011, 1:12:39 PM (15 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (2 props)
-
src/psphotStackParseCamera.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
- Property svn:ignore
-
old new 19 19 psphot-config 20 20 Doxyfile 21 a.out.dSYM
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
trunk/psphot/src/psphotStackParseCamera.c
r30624 r31154 172 172 } 173 173 174 // select the appropriate recipe information 175 psMetadata *recipe = psMetadataLookupPtr (&status, config->recipes, PSPHOT_RECIPE); 176 bool saveCnv = psMetadataLookupBool(&status, recipe, "SAVE.CNV"); 177 bool saveChisq = psMetadataLookupBool(&status, recipe, "SAVE.CHISQ"); 178 179 // loop over the available readouts 180 for (int i = 0; i < nInputs; i++) { 181 pmFPAfile *file = NULL; 182 183 file = pmFPAfileSelectSingle(config->files, "PSPHOT.STACK.OUTPUT.IMAGE", i); 184 file->save = saveCnv; 185 186 file = pmFPAfileSelectSingle(config->files, "PSPHOT.STACK.OUTPUT.MASK", i); 187 file->save = saveCnv; 188 189 file = pmFPAfileSelectSingle(config->files, "PSPHOT.STACK.OUTPUT.VARIANCE", i); 190 file->save = saveCnv; 191 } 192 174 193 // generate an pmFPAimage for the chisqImage 175 194 // XXX output of these files should be optional … … 180 199 return false; 181 200 } 182 chisqImage->save = true;201 chisqImage->save = saveChisq; 183 202 184 203 pmFPAfile *chisqMask = pmFPAfileDefineOutput(config, chisqImage->fpa, "PSPHOT.CHISQ.MASK"); … … 191 210 return NULL; 192 211 } 193 chisqMask->save = true;212 chisqMask->save = saveChisq; 194 213 195 214 pmFPAfile *chisqVariance = pmFPAfileDefineOutput(config, chisqImage->fpa, "PSPHOT.CHISQ.VARIANCE"); … … 202 221 return NULL; 203 222 } 204 chisqVariance->save = true;223 chisqVariance->save = saveChisq; 205 224 } 206 225
Note:
See TracChangeset
for help on using the changeset viewer.
