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 wrong pixel area and rotation in nominal frame, fixes #2028 #2029

Merged
merged 2 commits into from
Jul 20, 2022

Conversation

maxnoe
Copy link
Member

@maxnoe maxnoe commented Jul 20, 2022

Takes translatation and rotation now correctly into account by additionally transforming the origin into the new frame:

display_nominal

@maxnoe maxnoe requested a review from kosack July 20, 2022 09:07
@maxnoe maxnoe changed the title Fix wrong pixel area in nominal frame, fixes #2028 Fix wrong pixel area and rotation in nominal frame, fixes #2028 Jul 20, 2022
nbiederbeck
nbiederbeck previously approved these changes Jul 20, 2022
LukasNickel
LukasNickel previously approved these changes Jul 20, 2022
@maxnoe maxnoe dismissed stale reviews from LukasNickel and nbiederbeck via cb73770 July 20, 2022 10:03
@maxnoe maxnoe force-pushed the fix_display_nominal branch from f681f5e to cb73770 Compare July 20, 2022 10:03
@maxnoe
Copy link
Member Author

maxnoe commented Jul 20, 2022

Rtol missing from test, please review again @nbiederbeck @LukasNickel

@codecov
Copy link

codecov bot commented Jul 20, 2022

Codecov Report

Merging #2029 (cb73770) into master (4793557) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #2029   +/-   ##
=======================================
  Coverage   92.34%   92.35%           
=======================================
  Files         193      193           
  Lines       15811    15823   +12     
=======================================
+ Hits        14601    14613   +12     
  Misses       1210     1210           
Impacted Files Coverage Δ
ctapipe/instrument/camera/geometry.py 90.27% <100.00%> (+0.16%) ⬆️
ctapipe/instrument/camera/tests/test_geometry.py 100.00% <100.00%> (ø)

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 4793557...cb73770. Read the comment docs.

@maxnoe maxnoe merged commit a10e93a into master Jul 20, 2022
@maxnoe maxnoe deleted the fix_display_nominal branch July 20, 2022 11:06
@kosack kosack added the fix label Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants