Changeset 16820 for trunk/psphot/src/psphotSourceStats.c
- Timestamp:
- Mar 4, 2008, 3:10:25 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotSourceStats.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotSourceStats.c
r15405 r16820 1 1 # include "psphotInternal.h" 2 2 3 psArray *psphotSourceStats (pmReadout *readout, psMetadata *recipe, p sArray *peaks, psMaskType maskVal, psMaskType mark)3 psArray *psphotSourceStats (pmReadout *readout, psMetadata *recipe, pmDetections *detections) 4 4 { 5 5 bool status = false; … … 8 8 9 9 psTimerStart ("psphot"); 10 11 // user-defined masks to test for good/bad pixels (build from recipe list if not yet set) 12 psMaskType maskVal = psMetadataLookupU8(&status, recipe, "MASK.PSPHOT"); // Mask value for bad pixels 13 assert (maskVal); 14 15 // user-defined masks to test for good/bad pixels (build from recipe list if not yet set) 16 psMaskType mark = psMetadataLookupU8(&status, recipe, "MASK.MARK"); // Mask value for bad pixels 17 assert (mark); 10 18 11 19 // determine properties (sky, moments) of initial sources … … 20 28 char *breakPt = psMetadataLookupStr (&status, recipe, "BREAK_POINT"); 21 29 if (!status) return NULL; 30 31 psArray *peaks = detections->peaks; 22 32 23 33 sources = psArrayAllocEmpty (peaks->n);
Note:
See TracChangeset
for help on using the changeset viewer.
