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

sigma_clip returns three arrays #25

Closed
astrobatty opened this issue May 2, 2020 · 1 comment
Closed

sigma_clip returns three arrays #25

astrobatty opened this issue May 2, 2020 · 1 comment

Comments

@astrobatty
Copy link

Hi,

as I can see sigma_clip function has been updated and now if separate_masks is True it returns 3 arrays. However, in standalone.py you only catch two of them, which raises an error. Changing mlow, mhigh = to minf, mlow, mhigh = in line 234 solves the issuse. Additionally minf = isfinite(cflux) in line 232 can be removed as it is calculated by the new sigma_clip.

Cheers,
astrobatty

@benjaminpope
Copy link
Contributor

Thanks, well spotted! this is now resolved

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