- Timestamp:
- Feb 19, 2011, 10:40:50 AM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110213/psphot
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/psphotRadialAperturesByObject.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/psphot
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/eam_branches/ipp-20110213/psphot/src/psphotRadialAperturesByObject.c
r30624 r30707 42 42 psImageMaskType maskVal = psMetadataLookupImageMask(&status, recipe, "MASK.PSPHOT"); // Mask value for bad pixels 43 43 assert (maskVal); 44 45 // XXX temporary user-supplied systematic sky noise measurement (derive from background model)46 float skynoise = psMetadataLookupF32 (&status, recipe, "SKY.NOISE");47 44 48 45 // S/N limit to perform full non-linear fits … … 147 144 148 145 // force source image to be a bit larger... 149 // float radius = source->peak->xf - source->pixels->col0;150 // radius = PS_MAX (radius, source->peak->yf - source->pixels->row0);151 // radius = PS_MAX (radius, source->pixels->numRows - source->peak->yf + source->pixels->row0);152 // radius = PS_MAX (radius, source->pixels->numCols - source->peak->xf + source->pixels->col0);153 146 pmSourceRedefinePixels (source, readout, source->peak->xf, source->peak->yf, outerRadius + 2); 154 147 155 if (!psphotRadialApertureSource (source, recipe, skynoise,maskVal, radMax, nMatchedPSF)) {148 if (!psphotRadialApertureSource (source, recipe, maskVal, radMax, nMatchedPSF)) { 156 149 psTrace ("psphot", 5, "failed to extract radial profile for source at %7.1f, %7.1f", source->moments->Mx, source->moments->My); 157 150 } else {
Note:
See TracChangeset
for help on using the changeset viewer.
