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

Fix mapqkz #11

Closed
wants to merge 7 commits into from
Closed

Fix mapqkz #11

wants to merge 7 commits into from

Conversation

danielsf
Copy link
Contributor

Mapqkz was missing the block of code that, in mapqk, accounts for light-deflection near the Sun. After corresponding with Patrick Wallace, I added that code into mapqkz. I then rewrote the unit tests for mapqk and mapqkz. The test for mapqk now takes USNO data for the geocentric apparent position of Arcturus and tries to calculate it from Acturus' mean position and motion parameters. The test for mapqkz sends identical inputs through mapqk and mapqkz and verifies that the same result comes out.

as Patrick Wallace pointed out in an email, p2 is converted
to spherical coordinates almost immediately after being computed,
so its normalization is irrelevant
@grahambell
Copy link
Contributor

With the removal of the normalization, is the local variable p1dvp1 no longer required?

@danielsf
Copy link
Contributor Author

I have removed the unused variable.

@grahambell
Copy link
Contributor

I applied the changes to the master branch.

@grahambell grahambell closed this Nov 29, 2016
@danielsf
Copy link
Contributor Author

@grahambell Great. Thanks. Can a new release be tagged? I would like to incorporate this into PALPYY (and then into the LSST software stack). LSST policy is to only include tagged releases of third party packages.

@danielsf danielsf mentioned this pull request Dec 6, 2016
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 this pull request may close these issues.

None yet

2 participants