Changeset 28013 for trunk/psphot/src/psphotGuessModels.c
- Timestamp:
- May 18, 2010, 4:11:53 PM (16 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/psphotGuessModels.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/psphotGuessModels.c
r27657 r28013 8 8 9 9 // for now, let's store the detections on the readout->analysis for each readout 10 bool psphotGuessModels (pmConfig *config, const pmFPAview *view )10 bool psphotGuessModels (pmConfig *config, const pmFPAview *view, const char *filerule) 11 11 { 12 12 bool status = true; … … 22 22 for (int i = 0; i < num; i++) { 23 23 if (i == chisqNum) continue; // skip chisq image 24 if (!psphotGuessModelsReadout (config, view, "PSPHOT.INPUT", i)) {25 psError (PSPHOT_ERR_CONFIG, false, "failed on to guess models for PSPHOT.INPUT entry %d", i);24 if (!psphotGuessModelsReadout (config, view, filerule, i)) { 25 psError (PSPHOT_ERR_CONFIG, false, "failed on to guess models for %s entry %d", filerule, i); 26 26 return false; 27 27 } … … 31 31 32 32 // construct an initial PSF model for each object (new sources only) 33 bool psphotGuessModelsReadout (pmConfig *config, const pmFPAview *view, const char *file name, int index) {33 bool psphotGuessModelsReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index) { 34 34 35 35 bool status; … … 38 38 39 39 // find the currently selected readout 40 pmFPAfile *file = pmFPAfileSelectSingle(config->files, file name, index); // File of interest40 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filerule, index); // File of interest 41 41 psAssert (file, "missing file?"); 42 42
Note:
See TracChangeset
for help on using the changeset viewer.
