Changeset 28013 for trunk/psphot/src/psphotChoosePSF.c
- Timestamp:
- May 18, 2010, 4:11:53 PM (16 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/psphotChoosePSF.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/psphotChoosePSF.c
r27657 r28013 2 2 3 3 // generate a PSF model for inputs without PSF models already loaded 4 bool psphotChoosePSF (pmConfig *config, const pmFPAview *view )4 bool psphotChoosePSF (pmConfig *config, const pmFPAview *view, const char *filerule) 5 5 { 6 6 bool status = true; … … 20 20 for (int i = 0; i < num; i++) { 21 21 if (i == chisqNum) continue; // skip chisq image 22 if (!psphotChoosePSFReadout (config, view, "PSPHOT.INPUT", i, recipe)) {23 psError (PSPHOT_ERR_CONFIG, false, "failed to choose a psf model for PSPHOT.INPUT entry %d", i);22 if (!psphotChoosePSFReadout (config, view, filerule, i, recipe)) { 23 psError (PSPHOT_ERR_CONFIG, false, "failed to choose a psf model for %s entry %d", filerule, i); 24 24 return false; 25 25 } … … 29 29 30 30 // try PSF models and select best option 31 bool psphotChoosePSFReadout (pmConfig *config, const pmFPAview *view, const char *file name, int index, psMetadata *recipe) {31 bool psphotChoosePSFReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe) { 32 32 33 33 bool status; … … 36 36 37 37 // find the currently selected readout 38 pmFPAfile *file = pmFPAfileSelectSingle(config->files, file name, index); // File of interest38 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filerule, index); // File of interest 39 39 psAssert (file, "missing file?"); 40 40
Note:
See TracChangeset
for help on using the changeset viewer.
