Changeset 6481 for trunk/psphot/src/psphotRadiusChecks.c
- Timestamp:
- Feb 23, 2006, 6:16:11 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotRadiusChecks.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotRadiusChecks.c
r6427 r6481 24 24 // set the fit radius based on the object flux limit and the model 25 25 model->radius = modelRadiusPSF (model->params, PSF_FIT_NSIGMA*moments->dSky) + PSF_FIT_PADDING; 26 if (isnan(model->radius)) psAbort ("apply_psf_model", "error in radius"); 27 28 if (source->mode & PM_SOURCE_SATSTAR) { 29 model->radius *= 2; 30 } 31 32 bool status = psphotRedefinePixels (source, readout, model->params->data.F32[2], model->params->data.F32[3], model->radius); 33 return status; 34 } 35 36 bool psphotCheckRadiusPSFBlend (pmReadout *readout, pmSource *source, pmModel *model, float dR) { 37 38 pmMoments *moments = source->moments; 39 if (moments == NULL) return false; 40 41 // set the fit radius based on the object flux limit and the model 42 model->radius = modelRadiusPSF (model->params, PSF_FIT_NSIGMA*moments->dSky) + dR + PSF_FIT_PADDING; 26 43 if (isnan(model->radius)) psAbort ("apply_psf_model", "error in radius"); 27 44
Note:
See TracChangeset
for help on using the changeset viewer.
