- Timestamp:
- Jun 6, 2011, 1:56:22 PM (15 years ago)
- Location:
- branches/czw_branch/20110406
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20110406
- Property svn:mergeinfo changed
-
branches/czw_branch/20110406/psphot
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20110404/psphot (added) merged: 31313-31314,31328,31337,31362,31364,31381,31384,31437,31444
- Property svn:mergeinfo changed
-
branches/czw_branch/20110406/psphot/src/psphotRadialApertures.c
r31154 r31606 95 95 if (source->type == PM_SOURCE_TYPE_SATURATED) continue; 96 96 if (source->mode & PM_SOURCE_MODE_DEFECT) continue; 97 if (source->mode & PM_SOURCE_MODE_SATSTAR) continue; 97 98 // XXX measure radial apertures even for saturated stars 99 // if (source->mode & PM_SOURCE_MODE_SATSTAR) continue; 98 100 99 101 // limit selection to some SN limit … … 257 259 float SBstdv = sqrt((fluxStd->data.F32[i] / nPix) - PS_SQR(SBmean)); 258 260 261 // XXX report the total flux or the mask-corrected flux? 259 262 // flux->data.F32[i] = SBmean * Area; 263 // fluxErr->data.F32[i] = sqrt(fluxErr->data.F32[i]) * Area / nPix; 264 265 fluxErr->data.F32[i] = sqrt(fluxErr->data.F32[i]); 260 266 fluxStd->data.F32[i] = SBstdv * Area; 261 fluxErr->data.F32[i] = sqrt(fluxErr->data.F32[i]) * Area / nPix; 262 263 // fill->data.F32[i] /= Area; 267 fill->data.F32[i] /= Area; 268 264 269 psTrace ("psphot", 5, "radial bins: %3d %5.1f : %8.1f +/- %7.2f : %8.1f +/- %8.1f : %4.2f %6.1f\n", 265 270 i, aperRadii->data.F32[i], flux->data.F32[i], fluxErr->data.F32[i], SBmean, SBstdv, fill->data.F32[i], Area);
Note:
See TracChangeset
for help on using the changeset viewer.
