- Timestamp:
- May 10, 2010, 5:24:37 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/psphot.20100506/src/psphotImageQuality.c
r27657 r27909 5 5 6 6 // for now, let's store the detections on the readout->analysis for each readout 7 bool psphotImageQuality (pmConfig *config, const pmFPAview *view )7 bool psphotImageQuality (pmConfig *config, const pmFPAview *view, const char *filerule) 8 8 { 9 9 bool status = true; … … 23 23 for (int i = 0; i < num; i++) { 24 24 if (i == chisqNum) continue; // skip chisq image 25 if (!psphotImageQualityReadout (config, view, "PSPHOT.INPUT", i, recipe)) {26 psError (PSPHOT_ERR_CONFIG, false, "failed on to measure image quality for PSPHOT.INPUT entry %d", i);25 if (!psphotImageQualityReadout (config, view, filerule, i, recipe)) { 26 psError (PSPHOT_ERR_CONFIG, false, "failed on to measure image quality for %s entry %d", filerule, i); 27 27 return false; 28 28 } … … 32 32 33 33 // selecting the 'good' stars (likely to be psf stars), measure the M_cn, M_sn terms for n = 2,3,4 34 bool psphotImageQualityReadout(pmConfig *config, const pmFPAview *view, const char *file name, int index, psMetadata *recipe)34 bool psphotImageQualityReadout(pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe) 35 35 { 36 36 bool status = true; 37 37 38 38 // find the currently selected readout 39 pmFPAfile *file = pmFPAfileSelectSingle(config->files, file name, index); // File of interest39 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filerule, index); // File of interest 40 40 psAssert (file, "missing file?"); 41 41
Note:
See TracChangeset
for help on using the changeset viewer.
