Changeset 36146
- Timestamp:
- Sep 23, 2013, 12:57:22 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130904/psphot/src
- Files:
-
- 7 added
- 4 edited
-
psphot.h (modified) (1 diff)
-
psphotFullForce.c (added)
-
psphotFullForceArguments.c (added)
-
psphotFullForceImageLoop.c (added)
-
psphotFullForceReadout.c (added)
-
psphotGalaxyShape.c (added)
-
psphotImageLoop.c (modified) (1 diff)
-
psphotKronFlux.c (added)
-
psphotLoadPSF.c (modified) (2 diffs)
-
psphotMergeSources.c (modified) (1 diff)
-
psphotPetroFlux.c (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/psphot/src/psphot.h
r35769 r36146 18 18 PSPHOT_SINGLE, 19 19 PSPHOT_FORCED, 20 PSPHOT_FULL_FORCE, 20 21 PSPHOT_MAKE_PSF, 21 22 PSPHOT_MODEL_TEST, -
branches/eam_branches/ipp-20130904/psphot/src/psphotImageLoop.c
r34258 r36146 132 132 } 133 133 break; 134 case PSPHOT_FULL_FORCE: 135 if (!psphotFullForceReadout (config, view, "PSPHOT.INPUT")) { 136 psError(psErrorCodeLast(), false, "failure in psphotReadout for chip %d, cell %d, readout %d\n", view->chip, view->cell, view->readout); 137 psFree (view); 138 return false; 139 } 140 break; 134 141 case PSPHOT_MAKE_PSF: 135 142 if (!psphotMakePSFReadout (config, view, "PSPHOT.INPUT")) { -
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 } -
branches/eam_branches/ipp-20130904/psphot/src/psphotMergeSources.c
r34266 r36146 65 65 // Merge the externally supplied sources with the existing sources. Mark them as having mode 66 66 // PM_SOURCE_MODE_EXTERNAL. 67 68 // XXX this function needs to be updated slightly for psphotFullForce: 69 // * load the additional parameters to guide the new concepts 67 70 68 71 // XXX This function needs to be updated to loop over set of input files. At the moment, we
Note:
See TracChangeset
for help on using the changeset viewer.
