Changeset 5980 for trunk/psphot/src/psphotEnsemblePSF.c
- Timestamp:
- Jan 13, 2006, 8:24:10 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotEnsemblePSF.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotEnsemblePSF.c
r5837 r5980 58 58 sources = psArraySort (sources, psphotSortByY); 59 59 60 float OUTER_RADIUS = psMetadataLookupF32 (&status, config, "SKY_OUTER_RADIUS");61 60 float INNER_RADIUS = psMetadataLookupF32 (&status, config, "SKY_INNER_RADIUS"); 62 61 float PSF_FIT_NSIGMA = psMetadataLookupF32 (&status, config, "PSF_FIT_NSIGMA"); … … 104 103 // really saturated stars should be re-measured for a better centroid 105 104 // XXX EAM : move this to a 'clear satstar function' 106 // XXX EAM : extend size of fit box around SATSTAR107 105 if (inSource->mode & PM_SOURCE_SATSTAR) { 108 106 status = pmSourceMoments (inSource, INNER_RADIUS); … … 143 141 y = model->params->data.F32[3]; 144 142 145 // get function which specifies the radius at thisthe model hits the given flux143 // get function which specifies the radius at which the model hits the given flux 146 144 pmModelRadius modelRadius = pmModelRadius_GetFunction (psf->type); 147 145 … … 151 149 152 150 // if needed, ask for more object pixels 153 if (model->radius > OUTER_RADIUS) { 154 psphotDefinePixels (inSource, imdata, x, y, model->radius); 155 } 151 psphotRedefinePixels (inSource, imdata, x, y, model->radius); 156 152 157 153 // make temporary copies of the image pixels and mask
Note:
See TracChangeset
for help on using the changeset viewer.
