Changeset 4251 for trunk/psphot/src/apply_psf_model.c
- Timestamp:
- Jun 14, 2005, 3:23:24 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/apply_psf_model.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/apply_psf_model.c
r4216 r4251 5 5 // run this function to a specific flux limit? 6 6 7 bool apply_psf_model (psImage *image, psMetadata *config, psArray *sources, pmPSF *psf, psStats *sky)7 bool apply_psf_model (psImageData *imdata, psMetadata *config, psArray *sources, pmPSF *psf, psStats *sky) 8 8 { 9 9 bool status; 10 float x; 11 float y; 10 12 int Nfit = 0; 11 13 int Niter = 0; … … 42 44 x = model->params->data.F32[2]; 43 45 y = model->params->data.F32[3]; 46 // XXX I need to check if the model center has moved too much relative to the peak 44 47 45 48 // set the fit radius based on the object flux limit and the model … … 51 54 } 52 55 53 // mask off saturated pixels (move this to setup?)54 pmSourceMaskSaturated (source, SATURATE);55 56 56 // check if we need to redefine the pixels 57 57 if (model->radius > OUTER) {
Note:
See TracChangeset
for help on using the changeset viewer.
