Changeset 29936 for trunk/psphot/src/psphotLoadPSF.c
- Timestamp:
- Dec 5, 2010, 9:42:25 PM (16 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/psphotLoadPSF.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20101103/psphot (added) merged: 29660,29824-29825,29904,29914,29918,29920
- Property svn:mergeinfo changed
-
trunk/psphot/src/psphotLoadPSF.c
r26894 r29936 6 6 7 7 // XXX for now (2010.01.27), the supporting programs do not define multiple PSPHOT.PSF.LOAD 8 // files to go with multiple PSPHOT.INPUTfiles. as a result, the implementation below is8 // files to go with multiple input files. as a result, the implementation below is 9 9 // currently going to work for the case of a single input file, but will fail if we try with a 10 10 // stack of images. … … 59 59 } 60 60 61 bool psphotLoadPSF (pmConfig *config, const pmFPAview *view) { 61 // PSPHOT.PSF.LOAD vs input file -- see note at top 62 bool psphotLoadPSF (pmConfig *config, const pmFPAview *view, const char *filerule) { 62 63 63 bool status = false; 64 65 // XXX PSPHOT.PSF.LOAD vs PSPHOT.INPUT -- see note at top 66 int num = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.INPUT.NUM"); 67 psAssert (status, "programming error: must define PSPHOT.INPUT.NUM"); 64 int num = psphotFileruleCount(config, filerule); 68 65 69 66 // loop over the available readouts … … 71 68 72 69 // Generate the mask and weight images, including the user-defined analysis region of interest 73 if (!psphotLoadPSFReadout (config, view, "PSPHOT.INPUT", "PSPHOT.PSF.LOAD", i)) {70 if (!psphotLoadPSFReadout (config, view, filerule, "PSPHOT.PSF.LOAD", i)) { 74 71 psError (PSPHOT_ERR_CONFIG, false, "failed to load PSF model for PSPHOT.PSF.LOAD entry %d", i); 75 72 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
