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 astropy units to pointing AltAz #283

Merged
merged 2 commits into from
Feb 13, 2020
Merged

Add astropy units to pointing AltAz #283

merged 2 commits into from
Feb 13, 2020

Conversation

morcuended
Copy link
Member

Solve #282
I assigned astropy units to AltAz pointing coordinates.

I tested setting later on dl1_container.az_tel = azimuth.to(u.rad).value in lstchain/reco/dl0_to_dl1.py and lstchain/reco/dl1_to_dl2.py was working fine with no errors. In principle, since dl1_container.az_tel container (idem for alt_tel) has already the units defined, there is no need to change the latter part.

I could reconstruct the Alt Az properly with actual pointing coordinates.

coordinates

@vuillaut vuillaut merged commit 692331a into cta-observatory:master Feb 13, 2020
@morcuended morcuended deleted the add_astropy_units_to_pointing branch May 26, 2020 13:21
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.

2 participants