- Timestamp:
- Oct 20, 2010, 8:48:51 AM (16 years ago)
- File:
-
- 1 edited
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
Note:
See TracChangeset
for help on using the changeset viewer.
