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

horizontal.inverse function missing a sign correction? #148

Open
FinduschkaLi opened this issue Dec 8, 2023 · 0 comments
Open

horizontal.inverse function missing a sign correction? #148

FinduschkaLi opened this issue Dec 8, 2023 · 0 comments

Comments

@FinduschkaLi
Copy link

It seems the horizontal.inverse function should have something like:
if (Math.sin(az) > 0) {
ha = -ha;
}
after ha = Math.acos(ha);
I was trying to plot a circle around the zenith for a certain observer's location, which gave me only a half circle without this modification.

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