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 predictions in the altaz frame #152

Merged
merged 7 commits into from
May 5, 2021
Merged

Add predictions in the altaz frame #152

merged 7 commits into from
May 5, 2021

Conversation

LukasNickel
Copy link
Collaborator

@LukasNickel LukasNickel commented Apr 7, 2021

Connected Issue: #149

- Add pointing alt/az/zd to read_apply columns
- Add camera_to_horizontal function and cta transformation
- Calculate and save alt/az predictions in apply_disp and apply_dxdy
@codecov-io
Copy link

codecov-io commented Apr 7, 2021

Codecov Report

Merging #152 (ba7dc7d) into master (fa057dc) will increase coverage by 0.16%.
The diff coverage is 97.75%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #152      +/-   ##
==========================================
+ Coverage   90.42%   90.58%   +0.16%     
==========================================
  Files          37       37              
  Lines        3176     3241      +65     
==========================================
+ Hits         2872     2936      +64     
- Misses        304      305       +1     
Impacted Files Coverage Δ
aict_tools/preprocessing.py 86.31% <92.00%> (+2.10%) ⬆️
aict_tools/configuration.py 87.42% <100.00%> (+0.15%) ⬆️
aict_tools/cta_helpers.py 91.66% <100.00%> (+4.16%) ⬆️
aict_tools/scripts/apply_disp_regressor.py 94.20% <100.00%> (+0.55%) ⬆️
aict_tools/scripts/apply_dxdy_regressor.py 95.45% <100.00%> (+0.37%) ⬆️
tests/test_cta_coords.py 100.00% <100.00%> (ø)
tests/test_executables.py 83.12% <100.00%> (+0.51%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fa057dc...ba7dc7d. Read the comment docs.

- Swapped alt/az in the apply scripts
- Return altitude as opposed to zenith distance for fact
transformations

- FACT uses zenith distance, CTA uses Altitude
- Previously CTA transformations would work, but the output was labeled
as zd, although it was in fact (pun intended) the altitude
Copy link
Member

@maxnoe maxnoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's just call it {x,y,alt,zd,az}_prediction. Avoiding source.

@LukasNickel
Copy link
Collaborator Author

Let's just call it {x,y,alt,zd,az}_prediction. Avoiding source.

Sure

@maxnoe maxnoe merged commit c37e4cf into master May 5, 2021
@maxnoe maxnoe deleted the predaltaz branch May 5, 2021 07:57
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.

3 participants