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

Question on severity of a runtime warning #23

Open
hamsamilton opened this issue Oct 9, 2023 · 0 comments
Open

Question on severity of a runtime warning #23

hamsamilton opened this issue Oct 9, 2023 · 0 comments

Comments

@hamsamilton
Copy link

Hi,

When running dynamics analyses I frequently receive the following warning

/Users/samhamilton/miniconda3/envs/pwspyenv/lib/python3.11/site-packages/pwspy/analysis/dynamics.py:140: RuntimeWarning: invalid value encountered in log
val = np.log(ac) / (4 * k ** 2) # See the theory section of the paper for an explanation of the 4k^2. The slope of log(ac) should be equivalent to 1/t_c in the paper.

Does this invalidate the results? What are solutions to this issue?

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

1 participant