- Timestamp:
- Feb 29, 2008, 2:16:50 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080229/psphot/src/psphotBlendFit.c
r15800 r16760 2 2 3 3 // XXX I don't like this name 4 bool psphotBlendFit (pmReadout *readout, psArray *sources, psMetadata *recipe, pmPSF *psf , psMaskType maskVal) {4 bool psphotBlendFit (pmReadout *readout, psArray *sources, psMetadata *recipe, pmPSF *psf) { 5 5 6 6 int Nfit = 0; … … 11 11 12 12 psTimerStart ("psphot"); 13 14 // user-defined masks to test for good/bad pixels (build from recipe list if not yet set) 15 psMaskType maskVal = psMetadataLookupU8(&status, recipe, "MASK.PSPHOT"); // Mask value for bad pixels 16 assert (maskVal); 13 17 14 18 // source analysis is done in S/N order (brightest first) … … 92 96 pmSourceSub (source, PM_MODEL_OP_FULL, maskVal); 93 97 source->mode |= PM_SOURCE_MODE_SUBTRACTED; 94 source->mode |= PM_SOURCE_MODE_TEMPSUB; 98 } 99 100 if (psTraceGetLevel("psphot") >= 6) { 101 psphotSaveImage (NULL, readout->image, "image.v2.fits"); 95 102 } 96 103
Note:
See TracChangeset
for help on using the changeset viewer.
