Changeset 5980 for trunk/psphot/src/psphotFixedPSF.c
- Timestamp:
- Jan 13, 2006, 8:24:10 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotFixedPSF.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotFixedPSF.c
r5828 r5980 13 13 14 14 // we may set this differently here from the value used to mark likely saturated stars 15 float OUTER_RADIUS = psMetadataLookupF32 (&status, config, "SKY_OUTER_RADIUS");16 17 15 float PSF_FIT_NSIGMA = psMetadataLookupF32 (&status, config, "PSF_FIT_NSIGMA"); 18 16 float PSF_FIT_PADDING = psMetadataLookupF32 (&status, config, "PSF_FIT_PADDING"); … … 52 50 } 53 51 54 // check if we need to redefine the pixels 55 // XXX EAM : a better test would examine the source pixels 56 if (model->radius > OUTER_RADIUS) { 57 // (re)-allocate image, weight, mask arrays for each peak (square of radius OUTER) 58 psphotDefinePixels (source, imdata, x, y, model->radius); 59 } 52 psphotRedefinePixels (source, imdata, x, y, model->radius); 60 53 61 54 // fit PSF model (set/unset the pixel mask)
Note:
See TracChangeset
for help on using the changeset viewer.
