ccd-reduction-and-photometry-guide icon indicating copy to clipboard operation
ccd-reduction-and-photometry-guide copied to clipboard

05-04: Consider using mode instead of median for scaling flats?

Open ejmcgrath opened this issue 6 years ago • 3 comments

I've always used the mode to scale (sky/twilight) flats since I worry about the median being biased high by stars. This is obviously more processing intensive, though, so there's a trade-off. Can be implemented with statistics.mode or scipy.stats.mode.

ejmcgrath avatar Aug 06 '19 20:08 ejmcgrath

Good suggestions, I'll a note about using mode. One question: are you typically working with integer or float data when you use mode?

mwcraig avatar Aug 07 '19 20:08 mwcraig

My raw data are always integer counts. I'm not sure how the statistics module (or the scipy module) deal with it if it's float. Good question.

ejmcgrath avatar Aug 07 '19 23:08 ejmcgrath

Still a good idea and still needs to be added...hopefully soon 😬

mwcraig avatar Jan 19 '22 15:01 mwcraig