- Timestamp:
- May 5, 2011, 2:58:21 PM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110505/psModules/src/objects
- Files:
-
- 2 edited
-
pmSourceMoments.c (modified) (1 diff)
-
pmSourcePhotometry.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110505/psModules/src/objects/pmSourceMoments.c
r31451 r31459 264 264 265 265 // if Mrf (first radial moment) is very small, we are getting into low-significance 266 // territory. saturate at minKronRadius. conversely, if Mrf is > radius, we are clearly 267 // making an error. saturate at radius. 268 float kronRefRadius = MIN(radius, MAX(minKronRadius, source->moments->Mrf)); 266 // territory. saturate at minKronRadius. conversely, if Mrf is >> radius for faint 267 // sources, we are clearly making an error. saturate at radius. 268 float kronRefRadius = MAX(minKronRadius, source->moments->Mrf); 269 if (source->moments->SN < 10) { 270 kronRefRadius = MIN(radius, kronRefRadius); 271 } 269 272 270 273 float radKinner = 1.0*kronRefRadius; -
branches/eam_branches/ipp-20110505/psModules/src/objects/pmSourcePhotometry.c
r31451 r31459 134 134 // measure PSF model photometry 135 135 status = pmSourcePhotometryModel (&source->psfMag, &source->psfFlux, modelPSF); 136 source->psfFluxErr = source->psfFlux * source->psfMagErr;136 source->psfFluxErr = fabs(source->psfFlux * source->psfMagErr); 137 137 138 138 # if (0)
Note:
See TracChangeset
for help on using the changeset viewer.
