Changeset 29489
- Timestamp:
- Oct 20, 2010, 8:48:51 AM (16 years ago)
- Location:
- branches/eam_branches/ipp-20100823/psModules/src/objects
- Files:
-
- 2 edited
-
pmSourcePhotometry.c (modified) (3 diffs)
-
pmSourcePhotometry.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100823/psModules/src/objects/pmSourcePhotometry.c
r29353 r29489 76 76 77 77 // XXX masked region should be (optionally) elliptical 78 // if mode is PM_SOURCE_PHOT_PSFONLY, we skip all other magnitudes 78 79 bool pmSourceMagnitudes (pmSource *source, pmPSF *psf, pmSourcePhotometryMode mode, psImageMaskType maskVal, psImageMaskType markVal) 79 80 { … … 117 118 // measure PSF model photometry 118 119 // XXX TEST: do not use flux scale 120 // XXX NOTE: turn this back on? 119 121 if (0 && psf->FluxScale) { 120 122 // the source peak pixel is guaranteed to be on the image, and only minimally different from the source center … … 128 130 status = pmSourcePhotometryModel (&source->psfMag, &source->psfFlux, source->modelPSF); 129 131 source->psfFluxErr = source->psfFlux * (source->modelPSF->dparams->data.F32[PM_PAR_I0] / source->modelPSF->params->data.F32[PM_PAR_I0]); 132 } 133 134 if (mode == PM_SOURCE_PHOT_PSFONLY) { 135 return true; 130 136 } 131 137 -
branches/eam_branches/ipp-20100823/psModules/src/objects/pmSourcePhotometry.h
r29230 r29489 35 35 PM_SOURCE_PHOT_INTERP = 0x0008, 36 36 PM_SOURCE_PHOT_DIFFSTATS = 0x0010, 37 PM_SOURCE_PHOT_PSFONLY = 0x0020, 37 38 } pmSourcePhotometryMode; 38 39
Note:
See TracChangeset
for help on using the changeset viewer.
