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: Strange value of angle alpha #142

Open
jenniferyee opened this issue Jun 16, 2024 · 1 comment
Open

RuntimeWarning: Strange value of angle alpha #142

jenniferyee opened this issue Jun 16, 2024 · 1 comment

Comments

@jenniferyee
Copy link
Collaborator

I do not like this warning.

"MulensModel/source/MulensModel/modelparameters.py:1224: RuntimeWarning: Strange value of angle alpha: 544.2577540767396"

I can see why some users might want it, but I personally don't care if I've input a value of alpha > 360, and all of the extra Warnings are making it hard to find the output I do care about.

@rpoleski
Copy link
Owner

It's enough to remove _warn_if_angle_outside_reasonable_range() and all its calls.

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