Changeset 23580 for branches/pap/psphot
- Timestamp:
- Mar 27, 2009, 4:46:10 PM (17 years ago)
- Location:
- branches/pap/psphot/src
- Files:
-
- 2 edited
-
psphot.h (modified) (1 diff)
-
psphotDefineFiles.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/psphot/src/psphot.h
r23492 r23580 31 31 bool psphotReadoutCleanup (pmConfig *config, pmReadout *readout, psMetadata *recipe, pmDetections *detections, pmPSF *psf, psArray *sources); 32 32 bool psphotDefineFiles (pmConfig *config, pmFPAfile *input); 33 void psphotFilesActivate(pmConfig *config, bool state); 34 33 35 bool psphotSetMaskBits (pmConfig *config); 34 36 bool psphotSetMaskRecipe (pmConfig *config, psImageMaskType maskValue, psImageMaskType markValue); -
branches/pap/psphot/src/psphotDefineFiles.c
r14892 r23580 1 1 # include "psphotInternal.h" 2 3 // List of output files 4 static const char *outputFiles = { "PSPHOT.OUTPUT", "PSPHOT.RESID", "PSPHOT.BACKMDL", "PSPHOT.BACKMDL.STDEV", 5 "PSPHOT.BACKGND", "PSPHOT.BACKSUB", "PSPHOT.PSF.SAVE", 6 "SOURCE.PLOT.MOMENTS", "SOURCE.PLOT.PSFMODEL", "SOURCE.PLOT.APRESID", 7 NULL }; 2 8 3 9 // XXX we need to be able to distinguish several cases: … … 133 139 return true; 134 140 } 141 142 void psphotFilesActivate(pmConfig *config, bool state) 143 { 144 for (int i = 0; outputFiles[i]; i++) { 145 if (!pmFPAfileActivate(config->files, state, outputFiles[i])) { 146 psErrorClear(); 147 } 148 } 149 150 return; 151 }
Note:
See TracChangeset
for help on using the changeset viewer.
