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

Fixing line of sight computation + SPICE validation of penumbra calculator #326

Merged
merged 7 commits into from
Oct 3, 2024

Conversation

ChristopherRabotin
Copy link
Member

Summary

  • SPICE validation of the penumbra calculation
  • Change transform_to function to translate in J2000 frame if the original and observer frames don't have the same rotation. This changes the line of sight calculations. Currently working on validation of the line of sight with an external tool.

Architectural Changes

No change

New Features

No change

Improvements

No change

Bug Fixes

No change

Testing and validation

  • Occultation computation now also done in SPICE with rust-spice

Documentation

This PR does not primarily deal with documentation changes.

Must now update/rewrite the LOS computation since that's the point of the ticket and it's obviously wrong
…ranslating if the original and destination frames don't match

This affects the computation of the line of sight, working on a validation of this algorithm.
Copy link

codecov bot commented Sep 29, 2024

Codecov Report

Attention: Patch coverage is 91.66667% with 4 lines in your changes missing coverage. Please review.

Project coverage is 80.55%. Comparing base (0a2b594) to head (2f2ebb7).
Report is 14 commits behind head on master.

Files with missing lines Patch % Lines
anise/src/astro/mod.rs 0.00% 3 Missing ⚠️
anise/src/structure/planetocentric/ellipsoid.rs 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #326      +/-   ##
==========================================
+ Coverage   80.44%   80.55%   +0.10%     
==========================================
  Files          76       77       +1     
  Lines        9748    10161     +413     
==========================================
+ Hits         7842     8185     +343     
- Misses       1906     1976      +70     
Flag Coverage Δ
80.55% <91.66%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Use longitude_360_deg for previous behavior
@ChristopherRabotin ChristopherRabotin linked an issue Oct 2, 2024 that may be closed by this pull request
@ChristopherRabotin ChristopherRabotin merged commit e60eb15 into master Oct 3, 2024
20 checks passed
@ChristopherRabotin ChristopherRabotin deleted the gh-314-line-of-sight branch October 3, 2024 04:06
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.

Line of sight obstruction is incorrect
1 participant