Changeset 28013 for trunk/psphot/src/psphotFindDetections.c
- Timestamp:
- May 18, 2010, 4:11:53 PM (16 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/psphotFindDetections.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
-
Property svn:mergeinfo
set to
/branches/eam_branches/psphot.20100506 merged eligible
-
Property svn:mergeinfo
set to
-
trunk/psphot/src/psphotFindDetections.c
r26894 r28013 4 4 // peaks and new footprints. any old peaks are saved on oldPeaks. the resulting footprint set 5 5 // contains all footprints (old and new) 6 bool psphotFindDetections (pmConfig *config, const pmFPAview *view, bool firstPass)6 bool psphotFindDetections (pmConfig *config, const pmFPAview *view, const char *filerule, bool firstPass) 7 7 { 8 8 bool status = true; … … 17 17 // loop over the available readouts 18 18 for (int i = 0; i < num; i++) { 19 if (!psphotFindDetectionsReadout (config, view, "PSPHOT.INPUT", i, recipe, firstPass)) {20 psError (PSPHOT_ERR_CONFIG, false, "failed to find initial detections for PSPHOT.INPUT entry %d", i);19 if (!psphotFindDetectionsReadout (config, view, filerule, i, recipe, firstPass)) { 20 psError (PSPHOT_ERR_CONFIG, false, "failed to find initial detections for %s entry %d", filerule, i); 21 21 return false; 22 22 } … … 26 26 27 27 // smooth the image, search for peaks, optionally define footprints based on the peaks 28 bool psphotFindDetectionsReadout (pmConfig *config, const pmFPAview *view, const char *file name, int index, psMetadata *recipe, bool firstPass) {28 bool psphotFindDetectionsReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe, bool firstPass) { 29 29 30 30 bool status; … … 34 34 35 35 // find the currently selected readout 36 pmFPAfile *file = pmFPAfileSelectSingle(config->files, file name, index); // File of interest36 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filerule, index); // File of interest 37 37 psAssert (file, "missing file?"); 38 38
Note:
See TracChangeset
for help on using the changeset viewer.
