Changeset 14758 for trunk/psphot/src/psphotReadout.c
- Timestamp:
- Sep 5, 2007, 12:09:09 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotReadout.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotReadout.c
r14755 r14758 79 79 psphotModelTest (config, view, recipe, maskVal, maskMark); 80 80 81 // load the psf model, if suppled 82 // XXX include code in here to save FWHM_X,FWHM_Y in the recipe 81 // load the psf model, if suppled. FWHM_X,FWHM_Y,etc are saved in the recipe 83 82 pmPSF *psf = psphotLoadPSF (config, view, recipe); 83 84 // several functions below behave differently if we have a PSF model already 85 bool havePSF = (psf != NULL); 84 86 85 87 // find the peaks in the image. … … 126 128 } 127 129 128 // use source classes to select PSF candidate stars (from PSF clump)?129 bool findPSFClump = (psf == NULL);130 131 130 // classify sources based on moments, brightness 132 if (!psphotRoughClass (sources, recipe, findPSFClump, maskSat)) {131 if (!psphotRoughClass (sources, recipe, havePSF, maskSat)) { 133 132 psLogMsg ("psphot", 3, "failed to find a valid PSF clump for image"); 134 133 return psphotReadoutCleanup (config, readout, recipe, NULL, sources);
Note:
See TracChangeset
for help on using the changeset viewer.
