Changeset 7758 for trunk/psphot/src/psphotSourceStats.c
- Timestamp:
- Jun 29, 2006, 10:50:09 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotSourceStats.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotSourceStats.c
r6950 r7758 14 14 float OUTER = psMetadataLookupF32 (&status, recipe, "SKY_OUTER_RADIUS"); 15 15 float RADIUS = psMetadataLookupF32 (&status, recipe, "PSF_MOMENTS_RADIUS"); 16 char *breakPt = psMetadataLookupStr (&status, recipe, "BREAK_POINT"); 16 17 17 18 sources = psArrayAlloc (peaks->n); 18 // DROP sources->n = 0;19 19 20 20 for (int i = 0; i < peaks->n; i++) { … … 26 26 // allocate image, weight, mask arrays for each peak (square of radius OUTER) 27 27 pmSourceDefinePixels (source, readout, source->peak->x, source->peak->y, OUTER); 28 if (!strcasecmp (breakPt, "PEAKS")) continue; 28 29 29 30 // XXX skip faint sources? … … 72 73 psLogMsg ("psphot", 3, "%d moments: %f sec\n", sources->n, psTimerMark ("psphot")); 73 74 74 char *breakPt = psMetadataLookupStr (&status, recipe, "BREAK_POINT");75 if (!strcasecmp (breakPt, "STATS")) exit (0);76 77 75 return (sources); 78 76 }
Note:
See TracChangeset
for help on using the changeset viewer.
