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

Update yaml_generator to properly handle non-sidereal sources #590

Merged

Conversation

bhilbert4
Copy link
Collaborator

This PR allows the yaml generator to calculate and use the correct pointings for non-sidereal observations, based on an ephemeris file or manually input velocity values in the non-sidereal source catalog.

Note that I made a bunch of updates to apt_inputs.py as well, and then accidentally did git checkout instead of git add on the file, so I lost those changes and need to redo them.

Resolves #588

@bhilbert4 bhilbert4 self-assigned this Nov 23, 2020
@bhilbert4 bhilbert4 changed the title Update yaml_generator to properly handle non-sidereal sources [WIP]: Update yaml_generator to properly handle non-sidereal sources Nov 23, 2020
@bhilbert4 bhilbert4 linked an issue Dec 7, 2020 that may be closed by this pull request
@bhilbert4
Copy link
Collaborator Author

Tests show that this seems to be working well. It has revealed a bug in the pointing values that are calculated using ra_dec_update(), but the bug appears to affect all modes (not just non-sidereal) and is not caused by these changes, but instead is already present in the master branch. I'll address that in a separate issue and PR.

@bhilbert4 bhilbert4 changed the title [WIP]: Update yaml_generator to properly handle non-sidereal sources Update yaml_generator to properly handle non-sidereal sources Dec 7, 2020
@bhilbert4
Copy link
Collaborator Author

Nevermind about the ra_dec_update bug. Turns out APT was using a different version of the PRD compared to what pysiaf was using. This was causing sources to be shifted from their expected locations.

@bhilbert4 bhilbert4 merged commit 2faf497 into spacetelescope:master Dec 8, 2020
@bhilbert4 bhilbert4 deleted the ephemeris-in-example-notebook branch December 8, 2020 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant