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

Implement fundamental arguments #22

Merged
merged 6 commits into from
Nov 15, 2023
Merged

Implement fundamental arguments #22

merged 6 commits into from
Nov 15, 2023

Conversation

AngusGMorrison
Copy link
Contributor

@AngusGMorrison AngusGMorrison commented Nov 15, 2023

Implements the IERS 03 fundamental arguments as a mixture of:

  • Free functions, where the argument doesn't correspond to any one body
  • Trait implementations, where the argument is specified for multiple bodies
  • One struct implementation, for the Moon, which has two arguments not required for any other bodies.

Tests for zero, positive and negative values for t assert against outputs generated from the ERFA library directly.

@AngusGMorrison AngusGMorrison merged commit b9130cc into main Nov 15, 2023
20 checks passed
@AngusGMorrison AngusGMorrison deleted the am/fundamental-args branch November 15, 2023 20: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.

1 participant