Closed kslong closed 5 months ago
This is a bug, but I'm not sure yet about adding the sky_error
after subtracting the sky.
If you think about it, the variance in pixels dominated by sky lines should be already accounted for in the error image because those lines were always there. If we add sky_error
we may end up with overestimated variances.
I'll change to adding sky_error
but let's keep an eye out signatures of overestimated variances when we start fitting sky lines.
This looks like an error in quick_sky_subtraction (on the current master branch)
error_c should be
The errors in the flux and the sky should be added not subtracted.