- 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/psphotApResid.c
r26894 r27649 16 16 psAssert (status, "programming error: must define PSPHOT.INPUT.NUM"); 17 17 18 // skip the chisq image (optionally?) 19 int chisqNum = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.CHISQ.NUM"); 20 if (!status) chisqNum = -1; 21 18 22 // loop over the available readouts 19 23 for (int i = 0; i < num; i++) { 24 if (i == chisqNum) continue; // skip chisq image 20 25 if (!psphotApResidReadout (config, view, "PSPHOT.INPUT", i, recipe)) { 21 26 psError (PSPHOT_ERR_CONFIG, false, "failed to measure aperture residual for PSPHOT.INPUT entry %d", i);
Note:
See TracChangeset
for help on using the changeset viewer.
