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

RuntimeWarning in BinUVData #53

Closed
jeffjennings opened this issue Feb 20, 2020 · 3 comments · Fixed by #56
Closed

RuntimeWarning in BinUVData #53

jeffjennings opened this issue Feb 20, 2020 · 3 comments · Fixed by #56
Labels
bug Something isn't working

Comments

@jeffjennings
Copy link
Collaborator

Traceback:

/Users/morgan/miniconda3/envs/jj/lib/python3.7/site-packages/frank/useful_funcs.py:117: RuntimeWarning: invalid value encountered in sqrt
  bin_vis_err.real = np.sqrt(bin_vis_err.real - bin_vis.real**2)
@jeffjennings jeffjennings added the bug Something isn't working label Feb 20, 2020
@rbooth200
Copy link
Collaborator

Can you give me a minimum example to reproduce this?

@jeffjennings
Copy link
Collaborator Author

Run the code on any branch, the binning gets called so long as the figures are made.

@jeffjennings
Copy link
Collaborator Author

Ok once my branch is merged I'll check on master. I've seen the error on my previous branch too, so not sure why it's not showing on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants