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 astronomical calculations #18

Merged
merged 9 commits into from
Jun 4, 2024
Merged

Add astronomical calculations #18

merged 9 commits into from
Jun 4, 2024

Conversation

mannylopez
Copy link
Owner

@mannylopez mannylopez commented Jun 4, 2024

Closes #6 #11

Based on

AstronomicalConstant

  • Add a new namespace, AstronomicalConstant, for all astronomical calculations
  • Add getMoonPhase and supporting functions
    • degreesToRadians
    • radiansToDegrees
    • declination
    • rightAscension
    • moonCoordinates
    • solarMeanAnomaly
    • eclipticLongitude
    • sunCoordinates
    • daysSinceJ2000
  • Add tests for all methods
  • Document all methods

@mannylopez mannylopez mentioned this pull request Jun 4, 2024
25 tasks
@mannylopez mannylopez merged commit 2b7fc39 into main Jun 4, 2024
@mannylopez mannylopez deleted the idlastro-moonphase branch June 4, 2024 19:35
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.

[Functionality] Percent illuminated
1 participant