Changeset 27726
- Timestamp:
- Apr 22, 2010, 11:05:27 AM (16 years ago)
- File:
-
- 1 edited
-
branches/pap/psphot/src/psphotEfficiency.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/psphot/src/psphotEfficiency.c
r27657 r27726 73 73 psTrace("psphot.fake", 1, "Limiting flux: %f\n", fluxLim); 74 74 psTrace("psphot.fake", 1, "Limiting mag: %f\n", *magLim); 75 psLogMsg("psphot", PS_LOG_INFO, 76 "Detection efficiency:\n" 77 " Mean variance: %f * %f\n" 78 " Threshold: %f\n" 79 " Normalisation: %f\n" 80 " Limiting magnitude: %f\n", 81 meanVar, *covarFactor, thresh, *norm, *magLim); 75 82 76 83 *radius = smoothSigma * smoothNsigma; … … 166 173 // loop over the available readouts 167 174 for (int i = 0; i < num; i++) { 168 if (i == chisqNum) continue; // skip chisq image169 if (!psphotEfficiencyReadout (config, view, "PSPHOT.INPUT", i, recipe)) {175 if (i == chisqNum) continue; // skip chisq image 176 if (!psphotEfficiencyReadout (config, view, "PSPHOT.INPUT", i, recipe)) { 170 177 psError (PSPHOT_ERR_CONFIG, false, "failed to measure detection efficiency for PSPHOT.INPUT entry %d", i); 171 return false;172 }178 return false; 179 } 173 180 } 174 181 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
