- Timestamp:
- Sep 23, 2013, 12:57:22 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/psphot/src/psphotLoadPSF.c
r29936 r36146 1 1 # include "psphotInternal.h" 2 3 // PSPHOT.PSF.LOAD vs input file -- see note at top 4 bool psphotLoadPSF (pmConfig *config, const pmFPAview *view, const char *filerule) { 5 6 int num = psphotFileruleCount(config, filerule); 7 8 // loop over the available readouts 9 for (int i = 0; i < num; i++) { 10 11 // Generate the mask and weight images, including the user-defined analysis region of interest 12 if (!psphotLoadPSFReadout (config, view, filerule, "PSPHOT.PSF.LOAD", i)) { 13 psError (PSPHOT_ERR_CONFIG, false, "failed to load PSF model for PSPHOT.PSF.LOAD entry %d", i); 14 return false; 15 } 16 } 17 return true; 18 } 2 19 3 20 // NOTE : pmPSF_IO.c functions must load the psf model onto the chip->analysis metadata because … … 58 75 return true; 59 76 } 60 61 // PSPHOT.PSF.LOAD vs input file -- see note at top62 bool psphotLoadPSF (pmConfig *config, const pmFPAview *view, const char *filerule) {63 64 int num = psphotFileruleCount(config, filerule);65 66 // loop over the available readouts67 for (int i = 0; i < num; i++) {68 69 // Generate the mask and weight images, including the user-defined analysis region of interest70 if (!psphotLoadPSFReadout (config, view, filerule, "PSPHOT.PSF.LOAD", i)) {71 psError (PSPHOT_ERR_CONFIG, false, "failed to load PSF model for PSPHOT.PSF.LOAD entry %d", i);72 return false;73 }74 }75 return true;76 }
Note:
See TracChangeset
for help on using the changeset viewer.
