Changeset 16820 for trunk/psphot/src/psphotFitSourcesLinear.c
- Timestamp:
- Mar 4, 2008, 3:10:25 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotFitSourcesLinear.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotFitSourcesLinear.c
r15132 r16820 12 12 static bool SetBorderMatrixElements (psSparseBorder *border, pmReadout *readout, psArray *sources, bool constant_weights, int SKY_FIT_ORDER); 13 13 14 bool psphotFitSourcesLinear (pmReadout *readout, psArray *sources, psMetadata *recipe, pmPSF *psf, bool final , psMaskType maskVal) {14 bool psphotFitSourcesLinear (pmReadout *readout, psArray *sources, psMetadata *recipe, pmPSF *psf, bool final) { 15 15 16 16 bool status; … … 21 21 22 22 psTimerStart ("psphot"); 23 24 // user-defined masks to test for good/bad pixels (build from recipe list if not yet set) 25 psMaskType maskVal = psMetadataLookupU8(&status, recipe, "MASK.PSPHOT"); // Mask value for bad pixels 26 assert (maskVal); 23 27 24 28 // source analysis is done in spatial order … … 187 191 pmSourceSub (source, PM_MODEL_OP_FULL, maskVal); 188 192 source->mode |= PM_SOURCE_MODE_SUBTRACTED; 189 if (!final) source->mode |= PM_SOURCE_MODE_TEMPSUB;190 // XXX not sure about the use of TEMPSUB191 193 } 192 194
Note:
See TracChangeset
for help on using the changeset viewer.
