Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ejmcgrath opened this issue Aug 6, 2019 · 3 comments
Open

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

ejmcgrath opened this issue Aug 6, 2019 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@ejmcgrath
Copy link

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.

@mwcraig mwcraig added the enhancement New feature or request label Aug 6, 2019
@mwcraig
Copy link
Member

mwcraig commented Aug 7, 2019

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

@ejmcgrath
Copy link
Author

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.

@mwcraig mwcraig added this to the v1 milestone Apr 15, 2021
@mwcraig mwcraig modified the milestones: v1, 2.0.1 Jan 19, 2022
@mwcraig
Copy link
Member

mwcraig commented Jan 19, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants