Changeset 4116 for trunk/psphot/src/apply_psf_model.c
- Timestamp:
- Jun 5, 2005, 8:41:28 PM (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
r4115 r4116 1 1 # include "psphot.h" 2 2 3 // fit psf model to all objects not already fitted (modelPSF == NULL) 3 // fit psf model to all objects 4 // PSFSTAR objects will be refitted 4 5 // run this function to a specific flux limit? 6 5 7 6 8 bool apply_psf_model (psImage *image, psMetadata *config, psArray *sources, pmPSF *psf, psStats *sky) … … 35 37 psSource *source = sources->data[i]; 36 38 37 // skip the existing PSF stars38 // XXX drop this -- refit?39 if (source->modelPSF != NULL) continue;40 41 39 // skip non-astronomical objects (very likely defects) 42 40 if (source->type == PS_SOURCE_DEFECT) continue; … … 54 52 if (isnan(model->radius)) { 55 53 fprintf (stderr, "error in radius\n"); 54 continue; 56 55 } 57 56
Note:
See TracChangeset
for help on using the changeset viewer.
