- 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/psphotEfficiency.c
r27532 r27649 160 160 psAssert (status, "programming error: must define PSPHOT.INPUT.NUM"); 161 161 162 // skip the chisq image (optionally?) 163 int chisqNum = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.CHISQ.NUM"); 164 if (!status) chisqNum = -1; 165 162 166 // loop over the available readouts 163 167 for (int i = 0; i < num; i++) { 168 if (i == chisqNum) continue; // skip chisq image 164 169 if (!psphotEfficiencyReadout (config, view, "PSPHOT.INPUT", i, recipe)) { 165 170 psError (PSPHOT_ERR_CONFIG, false, "failed to measure detection efficiency for PSPHOT.INPUT entry %d", i);
Note:
See TracChangeset
for help on using the changeset viewer.
