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

Warning about bad power spectrum #218

Closed
j6626 opened this issue Jun 22, 2024 · 1 comment · Fixed by #221
Closed

Warning about bad power spectrum #218

j6626 opened this issue Jun 22, 2024 · 1 comment · Fixed by #221

Comments

@j6626
Copy link

j6626 commented Jun 22, 2024

I was getting the following warning for certain choices of parameters: "Bad value in power spectrum. The power spectrum must be positive and not contain any NaN values. This is likely due to your UVtable (incorrect units or weights), or the deprojection being applied (incorrect geometry and/or phase center). Else you may want to increase rout by 10-20% or n so that it is large, >~300." In my case, I found that decreasing rather than increasing r_out fixed things, so it may be helpful to users to make the warning more general.

@jeffjennings
Copy link
Collaborator

Hi @j6626, I'm sorry to only be seeing this now, but I've made #221 to address it. Thank you for letting us know!

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

Successfully merging a pull request may close this issue.

2 participants