- Timestamp:
- May 10, 2010, 5:24:37 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/psphot.20100506/src/psphotDeblendSatstars.c
r26894 r27909 2 2 3 3 // for now, let's store the detections on the readout->analysis for each readout 4 bool psphotDeblendSatstars (pmConfig *config, const pmFPAview *view )4 bool psphotDeblendSatstars (pmConfig *config, const pmFPAview *view, const char *filerule) 5 5 { 6 6 bool status = true; … … 11 11 // loop over the available readouts 12 12 for (int i = 0; i < num; i++) { 13 if (!psphotDeblendSatstarsReadout (config, view, "PSPHOT.INPUT", i)) {14 psError (PSPHOT_ERR_CONFIG, false, "failed on saturated star deblend analysis for PSPHOT.INPUT entry %d", i);13 if (!psphotDeblendSatstarsReadout (config, view, filerule, i)) { 14 psError (PSPHOT_ERR_CONFIG, false, "failed on saturated star deblend analysis for %s entry %d", filerule, i); 15 15 return false; 16 16 } … … 19 19 } 20 20 21 bool psphotDeblendSatstarsReadout (pmConfig *config, const pmFPAview *view, const char *file name, int fileIndex) {21 bool psphotDeblendSatstarsReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int fileIndex) { 22 22 23 23 int N; … … 31 31 32 32 // find the currently selected readout 33 pmFPAfile *file = pmFPAfileSelectSingle(config->files, file name, fileIndex); // File of interest33 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filerule, fileIndex); // File of interest 34 34 psAssert (file, "missing file?"); 35 35
Note:
See TracChangeset
for help on using the changeset viewer.
