Changeset 25612
- Timestamp:
- Sep 27, 2009, 10:53:05 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/psphot/src/psphotChoosePSF.c
r25497 r25612 76 76 // assert (status); 77 77 78 // XXX we have calculated a Gaussian window function, use that for both the PSF fit radius 79 // and the aperture radius (scaling SIGMA) 80 // XXX put the scale factors into the recipe 78 // We have calculated a Gaussian window function, use that for both the PSF fit radius and 79 // the aperture radius (scaling SIGMA) 81 80 float gaussSigma = psMetadataLookupF32(&status, recipe, "MOMENTS_GAUSS_SIGMA"); 82 81 float fitScale = psMetadataLookupF32(&status, recipe, "PSF_FIT_RADIUS_SCALE"); … … 84 83 options->fitRadius = (int)(fitScale*gaussSigma); 85 84 options->apRadius = (int)(apScale*gaussSigma); 85 86 // XXX use the same radii for standard analysis as for the PSF creation 87 psMetadataAddF32(recipe, PS_LIST_TAIL, "PSF_FIT_RADIUS", PS_META_REPLACE, "fit radius", options->fitRadius); 88 psMetadataAddF32(recipe, PS_LIST_TAIL, "PSF_APERTURE", PS_META_REPLACE, "psf aperture", options->apRadius); 86 89 87 90 // XXX ROBUST seems to be too agressive given the small numbers.
Note:
See TracChangeset
for help on using the changeset viewer.
