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

Solar / lunar eclipses notation #30

Open
GitAttila opened this issue Jan 18, 2022 · 1 comment
Open

Solar / lunar eclipses notation #30

GitAttila opened this issue Jan 18, 2022 · 1 comment

Comments

@GitAttila
Copy link

Is there a way to find out from the existing generated Horoscope object whether the sun and moon are eclipsed?
I checked the Ephemeris.mon.position and could not find any information, nor on the sun object.
I was checking particularly for the date of April/20/2022 which is to be a solar eclipse. Is there a way to infer this
from the existing data? If not, could the information about solar and/or lunar eclipse be added to the horoscope object?

@leoplaw
Copy link

leoplaw commented Mar 26, 2024

As far as I can see, for lunar eclipses, it comes down to finding how close the moon is to either of the nodes. I'm not sure on this, but I assume it could be calculated from

Ephemeris.moon.orbit .meanAscendingNode.apparentLongitude
Ephemeris.moon.orbit .meanDescendingNode.apparentLongitude

and comparing it to

Ephemeris.moon.position.apparentGeocentric.longitude

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

No branches or pull requests

2 participants