- Timestamp:
- May 10, 2010, 5:24:37 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/psphot.20100506/src/psphotSourceSize.c
r27695 r27909 33 33 34 34 // for now, let's store the detections on the readout->analysis for each readout 35 bool psphotSourceSize (pmConfig *config, const pmFPAview *view, bool getPSFsize)35 bool psphotSourceSize (pmConfig *config, const pmFPAview *view, const char *filerule, bool getPSFsize) 36 36 { 37 37 bool status = true; … … 51 51 for (int i = 0; i < num; i++) { 52 52 if (i == chisqNum) continue; // skip chisq image 53 if (!psphotSourceSizeReadout (config, view, "PSPHOT.INPUT", i, recipe, getPSFsize)) {53 if (!psphotSourceSizeReadout (config, view, filerule, i, recipe, getPSFsize)) { 54 54 psError (PSPHOT_ERR_CONFIG, false, "failed on source size analysis for PSPHOT.INPUT entry %d", i); 55 55 return false; … … 60 60 61 61 // this function use an internal flag to mark sources which have already been measured 62 bool psphotSourceSizeReadout(pmConfig *config, const pmFPAview *view, const char *file name, int index, psMetadata *recipe, bool getPSFsize)62 bool psphotSourceSizeReadout(pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe, bool getPSFsize) 63 63 { 64 64 bool status; … … 68 68 69 69 // find the currently selected readout 70 pmFPAfile *file = pmFPAfileSelectSingle(config->files, file name, index); // File of interest70 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filerule, index); // File of interest 71 71 psAssert (file, "missing file?"); 72 72
Note:
See TracChangeset
for help on using the changeset viewer.
