Changeset 16820 for trunk/psphot/src/psphotExtendedSources.c
- Timestamp:
- Mar 4, 2008, 3:10:25 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotExtendedSources.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotExtendedSources.c
r15562 r16820 1 1 # include "psphot.h" 2 2 3 bool psphotExtendedSources (pmReadout *readout, psArray *sources, psMetadata *recipe , psMaskType maskVal) {3 bool psphotExtendedSources (pmReadout *readout, psArray *sources, psMetadata *recipe) { 4 4 5 5 bool status; 6 6 int Next = 0; 7 7 int Npsf = 0; 8 9 // user-defined masks to test for good/bad pixels (build from recipe list if not yet set) 10 psMaskType maskVal = psMetadataLookupU8(&status, recipe, "MASK.PSPHOT"); // Mask value for bad pixels 11 assert (maskVal); 8 12 9 13 // S/N limit to perform full non-linear fits … … 117 121 pmSourceSub (source, PM_MODEL_OP_FULL, maskVal); 118 122 source->mode |= PM_SOURCE_MODE_SUBTRACTED; 119 source->mode |= PM_SOURCE_MODE_TEMPSUB;120 123 } 121 124
Note:
See TracChangeset
for help on using the changeset viewer.
