siriobelli / flame

Flame data reduction pipeline
4 stars 4 forks source link

Added rejection algorithm similar to IRAF's ccdreject #18

Closed pboley closed 5 years ago

pboley commented 5 years ago

Can be used by setting settings.combine_ccdreject = 1, and is controlled by settings.combine_ccdreject_sigma (default [3., 3.]), which contains the lower and upper sigma values, respectively, for rejection.

If enabled (it is off by default), ccdreject is run during the combine phase immediately prior to sigma clipping. If the CCD parameters (readnoise and gain) are known, there is probably no reason to perform additional sigma clipping.

May resolve #9; in my case it certainly did.

pboley commented 5 years ago

Note that apparently this does not work for the sky-subtracted images yet.