A MATLAB Script for Predicting Solar Eclipses

Predict local circumstances of solar eclipses.
1.1K Downloads
Updated 23 Mar 2023

View License

PDF document and a MATLAB script named seclipse.m that can be used to predict local circumstances of solar eclipses. This computer program provides the universal times and topocentric coordinates of the Sun and Moon at the beginning and end of the penumbra contacts, and the time and coordinates at maximum eclipse. The source ephemeris for this routine is a JPL binary ephemeris file. This application uses several functions ported to MATLAB from the Fortran version of the NOVAS (Naval Observatory Vector Astrometry Subroutines) source code developed at the United States Naval Observatory (www.usno.navy.mil/USNO/astronomical-applications/software-products/novas).

Cite As

David Eagle (2024). A MATLAB Script for Predicting Solar Eclipses (https://www.mathworks.com/matlabcentral/fileexchange/39358-a-matlab-script-for-predicting-solar-eclipses), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Gravitation, Cosmology & Astrophysics in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.4.0.0

Added missing seclprt.m MATLAB function. Thanks to Christie H. for the catch.

1.3.0.0

Updated to use JPL DE440s ephemeris (included with zip file) and MICE/NOVAS routines

1.2.0.0

Added display of local circumstances during the total/annular phase of a solar eclipse. Included solar eclipse documentation from Volume 2 Number 2 of Celestial Computing.

1.1.0.0

Added MICE version of this script in the solar_eclipse_mice.zip archive.

1.0.0.0