c3-time-domain / SeeChange

A time-domain data reduction pipeline (e.g., for handling images->lightcurves) for surveys like DECam and LS4
BSD 3-Clause "New" or "Revised" License
0 stars 4 forks source link

Median / sigma clipping for backgroun annuli in photometry #229

Closed rknop closed 4 months ago

rknop commented 6 months ago

Right now (as of PR213), background annuli in photometry take a mean of the pixels in the annulus. This will bias high if there are any interloping objects in the annulus. A median woudl be better (but makes estimating the uncertainty harder); another possibility would be sigma-clipping around the median and taking a mean of what's left.