Changeset 15231
- Timestamp:
- Oct 5, 2007, 3:36:22 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotReadout.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotReadout.c
r15128 r15231 140 140 if (psf == NULL) { 141 141 // use bright stellar objects to measure PSF 142 // XXX if we do not have enough stars to generate the PSF, build one 143 // from the SEEING guess and model class142 // XXX if we do not have enough stars to generate the PSF, build one 143 // from the SEEING guess and model class 144 144 psf = psphotChoosePSF (readout, sources, recipe, maskVal, maskMark); 145 145 if (psf == NULL) { … … 147 147 return psphotReadoutCleanup (config, readout, recipe, psf, sources); 148 148 } 149 havePSF = true;149 havePSF = true; 150 150 } 151 151 … … 268 268 269 269 // measure aperture photometry corrections 270 if (! psphotApResid (readout, sources, recipe, psf, maskVal, maskMark)) {270 if (!havePSF && !psphotApResid (readout, sources, recipe, psf, maskVal, maskMark)) { 271 271 psTrace ("psphot", 4, "failure on psphotApResid"); 272 272 psError(PSPHOT_ERR_PHOTOM, false, "Measure aperture photometry corrections");
Note:
See TracChangeset
for help on using the changeset viewer.
