Changeset 16820 for trunk/psphot/src/psphotChoosePSF.c
- Timestamp:
- Mar 4, 2008, 3:10:25 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotChoosePSF.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotChoosePSF.c
r15023 r16820 2 2 3 3 // try PSF models and select best option 4 pmPSF *psphotChoosePSF (pmReadout *readout, psArray *sources, psMetadata *recipe , psMaskType maskVal, psMaskType mark) {4 pmPSF *psphotChoosePSF (pmReadout *readout, psArray *sources, psMetadata *recipe) { 5 5 6 6 bool status; 7 7 8 8 psTimerStart ("psphot"); 9 10 // user-defined masks to test for good/bad pixels (build from recipe list if not yet set) 11 psMaskType maskVal = psMetadataLookupU8(&status, recipe, "MASK.PSPHOT"); // Mask value for bad pixels 12 assert (maskVal); 13 14 // user-defined masks to test for good/bad pixels (build from recipe list if not yet set) 15 psMaskType mark = psMetadataLookupU8(&status, recipe, "MASK.MARK"); // Mask value for bad pixels 16 assert (mark); 9 17 10 18 // examine PSF sources in S/N order (brightest first)
Note:
See TracChangeset
for help on using the changeset viewer.
