Changeset 25663
- Timestamp:
- Sep 29, 2009, 10:10:54 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/psphot/src/psphotRadiusChecks.c
r25646 r25663 152 152 escape: 153 153 return NAN; 154 // bool result = psphotCheckRadiusEXT _old(readout, source, model, markVal);154 // bool result = psphotCheckRadiusEXT (readout, source, model, markVal); 155 155 // return result; 156 156 } 157 157 158 // call this function whenever you (re)-define the EXT model158 // alternative EXT radius based on model guess (for use without footprints) 159 159 bool psphotCheckRadiusEXT (pmReadout *readout, pmSource *source, pmModel *model, psImageMaskType markVal) { 160 160 … … 172 172 if (isnan(model->fitRadius)) psAbort("error in radius"); 173 173 174 // XXX this make the psf photometry for extended sources inconsistent with the other psf sources175 // XXX for now, use the same radius for aperture and fit176 // XXX to use different radii, we will need to set the apRadius mask with a call to177 // psImageKeepCircle in the function psphotMagnitudes_Threaded178 179 174 // redefine the pixels if needed 180 175 bool status = pmSourceRedefinePixels (source, readout, PAR[PM_PAR_XPOS], PAR[PM_PAR_YPOS], model->fitRadius);
Note:
See TracChangeset
for help on using the changeset viewer.
