Changeset 5124
- Timestamp:
- Sep 25, 2005, 9:20:18 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotMagnitudes.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotMagnitudes.c
r5085 r5124 1 1 # include "psphot.h" 2 2 3 // XXX EAM : this aperture correction business is invalid (& wrong) for galaxies 3 4 pmModel *pmSourceMagnitudes (pmSource *source, pmPSF *psf, float apRadius) { 4 5 6 int status; 5 7 float x, y; 6 8 float sky, rflux, apMag, fitMag; … … 8 10 // use the correct model (PSF vs FLT) 9 11 pmModel *model = pmSourceSelectModel (source); 10 if (model == NULL) continue;12 if (model == NULL) return NULL; 11 13 12 14 x = source->peak->x; … … 46 48 } 47 49 48 pmModel *pmSourceSelectMode (pmSource *source) {50 pmModel *pmSourceSelectModel (pmSource *source) { 49 51 50 52 pmModel *model;
Note:
See TracChangeset
for help on using the changeset viewer.
