TKS Eclipse Engine

Solar & lunar eclipse computation

Research-grade eclipse computation + large-scale baseline catalogue

Every solar (place-dependent) and lunar (geocentric) eclipse in a chosen range, each with contacts, magnitude, obscuration, a shadow diagram and a Besselian elements central path — from an independent ephemeris pipeline using DE kernels only as reference state data.

Technical Grade Platinum A++ NASA 5MC Validated Eclipse Catalogue ~30,189 years 1000-yr query 166 ms

Live computation · select a range

Scans every solar & lunar eclipse from From year to To year (inclusive), starting at the given month/day.
Online free range: 1950–2050 CE (100 years) — the year fields are clamped to this window.
The full TKS engine covers the whole TKS Ephemeris span −13,200 … +17,191 (~30,390 years · 144,168 baseline events), served instantly from the precomputed catalogue, plus a ±2000-yr beyond-edge band (Engine B reconstruction). The full deep-time range requires an enterprise-level API key; other callers are clamped to 1950–2050 CE server-side.
Online free range: 1950–2050 CE · full capability −13,200 … +17,191 (~30,390 yr) via an enterprise API key.

Overview

Solar

topocentric
True (light-time corrected) topocentric directions to Sun and Moon give the centre separation s(t); comparing with the apparent angular radii yields type, magnitude, obscuration and contacts C1–C4.

Lunar

geocentric
The Moon's angular distance from the anti-solar shadow axis is compared with umbral/penumbral radii (parallax ± solar radius, +2% atmosphere) to classify penumbral/partial/total and give P1, U1–U4, P4.

Path & Saros

derived
The umbral axis is intersected with the Earth ellipsoid for the central path and umbral width; the saros series is identified from a catalog of active series.

Performance benchmark

HTTP API

warm · this server
Range list · catalogue · 100 yr17 ms
Range list · catalogue · 500 yr83 ms
Range list · catalogue · 1000 yr166 ms
Range list · catalogue · 3000 yr490 ms
Live scan · 1 yr22 ms
Live ad-hoc scan · ≤10 yr (fallback)52 ms
Full-catalogue page (200 rows)7 ms
Single eclipse detail5 ms
Large ranges are served from the precomputed catalogue — local circumstances from stored Besselian elements (1000 yr ≈ 0.17 s, no ephemeris query).

CLI (offline)

reader · stored Besselian
--eclipse-query · 1 yr0.15 s
--eclipse-query · 10 yr0.15 s
--eclipse-query · 100 yr0.16 s
--eclipse-query · 1000 yr0.31 s
Reader = precomputed catalogue se, koi engine scan nahi. (Builder --eclipse-scan: 1000 yr ≈ 5 s, full 30,189 yr ≈ 197 s.) Same Besselian method as HTTP; includes file parse per run.

Accuracy · validated vs NASA/GSFC Five Millennium Canon

Solar eclipses

11,898 · −1999…+3000
Saros number0 / 11,898 mismatches
Type (total/annular/partial)0 mismatches (37 hybrid/grazing edges excluded)
Gamma γ|Δγ| mean 0.0003 · max 0.0022 R⊕
Magnitude|Δ| mean 0.0022 · max 0.067
Greatest time · 900–2000 CEsub-second … 2 s
Greatest time · ±2000 yr≤ 360 s (lunar-theory diff.)
Central-path widthmean 2.6 km · max 24 km
Greatest-eclipse pointmean 50 km (NASA 1° rounding)

Lunar eclipses

12,064 · −1999…+3000
Saros number0 / 12,064 mismatches
Type (penumbral/partial/total)0 mismatches (32 boundary edges excluded)
Gamma γ|Δγ| mean 0.0003 · max 0.0022 R⊕
Umbral / penumbral magnitude|Δ| mean 0.0034 · max 0.008
Greatest time · 900–2000 CE~1 s
Greatest time · ±2000 yr≤ 355 s (lunar-theory diff.)
Reference = NASA/GSFC Five Millennium Canon (Espenak & Meeus; VSOP87/ELP-2000 + MS2004 ΔT). Modern era matches to seconds; the growing ancient-time difference is the lunar-theory / secular-acceleration difference (ELP-2000 vs our TKS Ephemeris) — not an error; TKS Ephemeris is the more modern ephemeris. Local circumstances validated to the minute against published circumstances (e.g. Dallas 2024-04-08: C1 17:23 · C2 18:40 · max 18:42 · C3 18:44 · C4 20:02 UTC, magnitude 1.013, total).

Theory

Syzygy

epoch
Δλ(t) = sn180( λ☾ − λ☉ ) ; new moon Δλ = 0 ; full moon Δλ = 180°
Root-finding on the apparent ecliptic-of-date longitudes locates the conjunction/opposition instant.

Solar geometry

local
ρ☉ = asin(R☉/Δ☉) , ρ☾ = asin(R☾/Δ☾) m = (ρ☉ + ρ☾ − s) / (2ρ☉) , O = A_overlap / (π ρ☉²) contacts: s(t) = ρ☉ + ρ☾ (C1,C4) ; s(t) = |ρ☉ − ρ☾| (C2,C3)

Lunar geometry

geocentric
δ = angle from shadow axis ; π = asin(R⊕/|r☾|) ; s☉ = asin(R☉/|r☉|) ρ_umbra = 1.02 (π − s☉) ; ρ_pen = 1.02 (π + s☉) U = (ρ_umbra + s☾ − δ)/(2 s☾) ; P = (ρ_pen + s☾ − δ)/(2 s☾)

Besselian elements path

central
P(s) = r☾ + s·d̂ , d̂ = normalize(r☾ − r☉) ; |P| = R_ellipsoid(φ′) → central (lat,lon) w = 2 ( R☾ − L (R☉−R☾)/|r☉−r☾| ) (negative width = annular)

Validation · 2026

Lunar

vs NASA/Espenak
3 March — Totalumag 1.154 · P1 08:43 → P4 14:25 UTC
28 August — Partialumag 0.933

Solar

vs NASA/Espenak
12 August — TotalReykjavik · mag 1.014
17 February — AnnularAntarctica (70°S,140°E) · mag 0.976

Saros

One saros = 223 synodic months = 6585.3213 days ≈ 18 y 11 d 8 h. The engine identifies the active series (solar 117–156, lunar 110–150) from a catalog of member epochs and reports the next same-series eclipse.

Methods & provenance

EngineEngine A — reference path (independent SPK/DAF evaluator) within TKS Engine-A coverage (−13,200 … +17,191); beyond that → Engine B (independent N-body, dynamical reconstruction)
State sourceTKS Ephemeris (own reference-state kernel)
Reductionlight-time · aberration · solar deflection · IAU 2006 precession · IAU 2000B nutation · ecliptic of date
TimeTT/TDB; ΔT = SMH2016; observer via GAST (GMST + equation of equinoxes)
Earth figureWGS84 ellipsoid for observer & shadow-axis intersection
ReferenceNASA/Espenak eclipse catalogs (validation), IAU/SOFA conventions
Numerical precision ≠ physical accuracy ≠ observational uncertainty. Contact times carry model/ΔT uncertainty of order seconds.

Catalogue · geocentric · free range 1950–2050 CE

… loading catalogue …
Precomputed over the full TKS Engine-A range — geocentric: every solar eclipse worldwide + all lunar eclipses, with magnitude, Saros, contacts and Pañcāṅga at greatest eclipse. Times are in the zone chosen in “Times” (UTC or IST); a contact on the day before or after the greatest eclipse is marked −1d / +1d. Penumbral lunar eclipses show the penumbral magnitude (“pen”). Free online range: 1950–2050 CE (the year fields are clamped); the full −13,200 … +17,191 catalogue is available through the API / a license.

Engine B catalogue · beyond TKS Ephemeris · licensed

… loading Engine-B catalogue …
Beyond TKS Engine-A coverage (−13,200 … +17,191) the reference ephemeris ends; these events are Engine-B reconstructions over a ±2000-yr band. Honest caveat: no independent reference exists beyond the edge, and accuracy degrades with span. Access is available through the API / a license.
संस्करणः bin-1795527110