Changeset 6427 for trunk/psphot/src/psphotSourceStats.c
- Timestamp:
- Feb 14, 2006, 6:33:17 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotSourceStats.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotSourceStats.c
r6379 r6427 25 25 26 26 // allocate image, weight, mask arrays for each peak (square of radius OUTER) 27 // XXX EAM : this has 12 leaks (v.5)28 27 psphotDefinePixels (source, readout, source->peak->x, source->peak->y, OUTER); 29 28 … … 31 30 // XXX EAM : this should use ROBUST not SAMPLE median, but it is broken 32 31 status = pmSourceLocalSky (source, PS_STAT_SAMPLE_MEDIAN, INNER); 32 if (!status) { 33 psFree (source); 34 continue; 35 } 36 37 // measure the local sky variance (needed if noise is not sqrt(signal)) 38 // XXX EAM : this should use ROBUST not SAMPLE median, but it is broken 39 status = pmSourceLocalSkyVariance (source, PS_STAT_SAMPLE_MEDIAN, INNER); 33 40 if (!status) { 34 41 psFree (source);
Note:
See TracChangeset
for help on using the changeset viewer.
