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

Two values called from sigma clipping, but the function outputs three #29

Closed
amcody opened this issue Jul 20, 2020 · 1 comment
Closed

Comments

@amcody
Copy link

amcody commented Jul 20, 2020

K2sc is looking for two values from sigma_clip, but sigma_clip (in utils.py) now returns three:

k2sc/bin/k2sc

Line 259 in 33eedb9

mlow, mhigh = sigma_clip(cflux, max_iter = 10, max_sigma = 5, separate_masks = True, mexc = mper&mthf)

This causes the code to completely crash.

hpparvi added a commit that referenced this issue Jul 28, 2020
@hpparvi
Copy link
Contributor

hpparvi commented Jul 28, 2020

This should be fixed now.

@hpparvi hpparvi closed this as completed Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants