- Timestamp:
- Apr 9, 2010, 4:41:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/stackphot.20100406/psphot/src/psphotSkyReplace.c
r26894 r27649 8 8 psAssert (status, "programming error: must define PSPHOT.INPUT.NUM"); 9 9 10 // skip the chisq image (optionally?) 11 int chisqNum = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.CHISQ.NUM"); 12 if (!status) chisqNum = -1; 13 10 14 // loop over the available readouts 11 15 for (int i = 0; i < num; i++) { 16 if (i == chisqNum) continue; // skip chisq image 12 17 if (!psphotSkyReplaceReadout (config, view, "PSPHOT.INPUT", i)) { 13 18 psError (PSPHOT_ERR_CONFIG, false, "failed to replace sky for PSPHOT.INPUT entry %d", i);
Note:
See TracChangeset
for help on using the changeset viewer.
