Hasty Briefsbeta

Catching the moon at the right time with Julia

13 days ago
  • #astronomy
  • #Julia
  • #photography
  • Photographing the moon is more interesting during sunrise or sunset when its brightness is comparable to ambient light.
  • The article describes a Julia project to find dates when the sun and moon rise or set within a 30-minute window.
  • The project uses the AstroLib package to compute celestial positions and horizon crossings for the sun and moon.
  • A basic zero-crossing algorithm is used to detect rise and set events with 1-minute resolution.
  • Results are formatted into a table showing dates, sun/moon events, times, and moon phases for Lyon, France.
  • The project could be extended to provide interactive results for any location.