Changeset 26262
- Timestamp:
- Nov 22, 2009, 3:01:37 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotChoosePSF.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotChoosePSF.c
r25755 r26262 72 72 psMetadataAddF32(recipe, PS_LIST_TAIL, "PSF_FIT_RADIUS", PS_META_REPLACE, "fit radius", options->fitRadius); 73 73 psMetadataAddF32(recipe, PS_LIST_TAIL, "PSF_APERTURE", PS_META_REPLACE, "psf aperture", options->apRadius); 74 75 // XXX ROBUST seems to be too agressive given the small numbers.76 // options->stats = psStatsAlloc (PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV);77 options->stats = psStatsAlloc (PS_STAT_SAMPLE_MEDIAN | PS_STAT_SAMPLE_STDEV);78 74 79 75 // dimensions of the field for which the PSF is defined … … 116 112 psLogMsg ("psphot.pspsf", PS_LOG_DETAIL, "selected candidate %ld PSF objects\n", stars->n); 117 113 114 if (stars->n < 50) { 115 // ROBUST is too agressive if we only have a small number of PSF stars 116 options->stats = psStatsAlloc (PS_STAT_SAMPLE_MEDIAN | PS_STAT_SAMPLE_STDEV); 117 } else { 118 options->stats = psStatsAlloc (PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV); 119 } 120 118 121 // get the list pointers for the PSF_MODEL entries 119 122 psArray *modelNames = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
