#lunar #moon #astronomy

esbat

Functions for lunar phase calculations

1 unstable release

0.1.0 May 1, 2020

#403 in Date and time

Download history 7/week @ 2024-02-19 14/week @ 2024-02-26 5/week @ 2024-03-04 10/week @ 2024-03-11 1/week @ 2024-03-18 6/week @ 2024-03-25 42/week @ 2024-04-01

60 downloads per month

CC-BY-NC-4.0

46KB
871 lines

🌒 🌓 🌔 esbat 🌖 🌗 🌘

esbat provides functions for lunar phase calculations.

The algorithms are as published in Calendrical Calculations: The Ultimate Edition by Edward M. Reingold and Nachum Dershowitz, used with permission. The book notes:

... the algorithms are centered around the present date, for which they are accurate to within about 2 minutes. Their accuracy decreases for the far-distant past or future.

License

This crate uses a non-commercial license, a Creative Commons Attribution-NonCommercial 4.0 International License, at the request of the authors of Calendrical Calculations. Please contact the author of this crate at iliana@buttslol.net for any licensing questions.


lib.rs:

esbat provides functions for lunar phase calculations.

The algorithms are as published in Calendrical Calculations: The Ultimate Edition by Edward M. Reingold and Nachum Dershowitz, used with permission. The book notes:

... the algorithms are centered around the present date, for which they are accurate to within about 2 minutes. Their accuracy decreases for the far-distant past or future.

License

This crate uses a non-commercial license, a Creative Commons Attribution-NonCommercial 4.0 International License, at the request of the authors of Calendrical Calculations. Please contact the author of this crate at iliana@buttslol.net for any licensing questions.

Dependencies

~1–7.5MB
~25K SLoC