Changeset 18555 for trunk/psphot/src/psphotGuessModels.c
- Timestamp:
- Jul 15, 2008, 10:25:50 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotGuessModels.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotGuessModels.c
r16820 r18555 23 23 psTimerStart ("psphot"); 24 24 25 // user-defined masks to test for good/bad pixels (build from recipe list if not yet set)26 psMaskType maskVal = psMetadataLookupU8(&status, recipe, "MASK.PSPHOT"); // Mask value for bad pixels25 // bit-masks to test for good/bad pixels 26 psMaskType maskVal = psMetadataLookupU8(&status, recipe, "MASK.PSPHOT"); 27 27 assert (maskVal); 28 29 // bit-mask to mark pixels not used in analysis 30 psMaskType markVal = psMetadataLookupU8(&status, recipe, "MARK.PSPHOT"); 31 assert (markVal); 32 33 // maskVal is used to test for rejected pixels, and must include markVal 34 maskVal |= markVal; 28 35 29 36 // setup the PSF fit radius details … … 85 92 // XXX need to define the guess flux? 86 93 // set the fit radius based on the object flux limit and the model 87 psphotCheckRadiusPSF (readout, source, modelPSF );94 psphotCheckRadiusPSF (readout, source, modelPSF, markVal); 88 95 89 96 // set the source PSF model
Note:
See TracChangeset
for help on using the changeset viewer.
