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

Add support for skymap with planned wobble pointings #29

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

HealthyPear
Copy link
Member

Closes #11.

Here is an example:

Crab Nebula_skymap_with_wobbles

Not super configurable, but a first version.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@HealthyPear
Copy link
Member Author

One thing that is missing here is the possibility to add an extended source, but I would prefer to do it after #33 so we have the gammapy config file with the sky models

@HealthyPear
Copy link
Member Author

One thing I need to fix is the position angle of the wobbles: I just realized that I am using astropy's convention (0 deg is North and then increase counterclockwise) rather than the IACT convention (0 deg is West and then increase clockwise)

easy fix

astropy_position_angle = (90 * u.deg - out_position_angle) % (360 * u.deg)

We were using astropy's convention (0 deg is North and then increase counterclockwise) rather than the IACT convention (0 deg is West and then increase clockwise)
@HealthyPear
Copy link
Member Author

OK wobble position angle is now fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support to see wobble positions and stars in the FoV
1 participant