Tantrakulam · TKS Ephemeris

Independent Astronomical Computation Platform — engine detail

TKS Ephemeris kernels as reference state data · independent time-scale · SPK evaluation · apparent-place reduction · ecliptic · sidereal · 11-body dynamics

What this page shows

TKS converts a planetary state into an apparent astronomical position and then into traditional sidereal / Pañcāṅga quantities: state → apparent place → ecliptic longitude → ayanāṃśa → nirayana longitude → rāśi / nakṣatra / tithi.
Numerical precision ≠ physical accuracy ≠ observational uncertainty — all three are distinct.

Status · Provenance

Layer status

State source
TKS Ephemeris reference
State evaluation
Independent Rust DAF/SPK + Chebyshev type-2 · TKS-EPH-N fitted files (.tkseph): TKS-EPH-1 · 100 yr · 1.9 MB · Moon ≤ 0.1″ — TKS-EPH-2 · 1550–2650 · 28.5 MB · ≤ 0.33 mas (the engine reads TKS-EPH-2 where it covers the epoch)
Astronomical reduction
light-time ×3 · aberration · solar light deflection (finite-distance form, SOFA ld) · IAU 2006 precession (Vondrák 2011 beyond ±1,000 yr) · IAU 2000B nutation · TT→TDB for the ephemeris argument
Sidereal models
Lahiri (ICRC 1956) · Chitra (true Spica)
Dynamical engine
TKS-B N-body · EIH 1PN · J2–J6 · C22/S22
Validation
jplephem · Skyfield (0.5 mas rms, Moon and planets) · SOFA ld · Swiss Ephemeris timed from C
TKS-EPH-2 licence
native library · C ABI · Python · WebAssembly · data files · API — commercial licence (evaluation build 1950–2050 free: live demo; academic / research grant free on request)
Speed
0.35 µs per apparent position (TKS-EPH-2, one thread) — 3.9× Swiss Ephemeris's C library, positions only (benchmark)

Provenance

JPL DE440/441
source trajectory data of the TKS-EPH files (NASA/JPL, public) — credited here; TKS-EPH is not affiliated with or endorsed by NASA/JPL
TKS
independent numerical evaluation and astronomical reduction
IAU
reference astronomical conventions (precession/nutation/frames)
TKS-B
independent numerical dynamics (N-body)

Architecture — pipeline

TKS Ephemerisreference state source
↓
TKS SPK / DAF evaluatorChebyshev type-2 · independent Rust
↓
Geometric → Apparentlight-time · aberration · deflection · precession · nutation
↓
Ecliptic of datetropical λ, β
↓
SiderealLahiri / Chitra → nirayana
↓
PAÑCĀṄGAtithi · nakṣatra · yoga · karaṇa · rāśi · saṅkrānti
DE440 / DE441reference
│
Engine Areference path
│ initial state ↓
TKS Engine BN-body + 1PN + J2/J3/J4
↓
Common Ephemeris APItrait Ephemeris
Engine A and Engine B expose the same State API; the layers above are unchanged.

Live result

Engine B · TKS Dynamics

Configuration

Mode
independent numerical propagation
Integrator
DOPRI5 (adaptive)
Bodies
11 (Sun · 8 planets · Moon · Pluto)
Gravity
Newtonian N-body
Relativity
EIH 1PN toggle
Gravity field
Earth J2–J6 · C22/S22 · Sun J2 toggle
Initial conditions
DE440-derived
Asteroids
offline / optional (16 perturbers)
Validation reference
DE440

Engine-B benchmark Δpos vs DE440 · own 11-body integration seeded at J2000

checkpoint100 yr500 yr1000 yr
Sun44 km322 km627 km
Mercury567 km13,380 km53,626 km
Venus45 km324 km624 km
Earth104 km4,138 km9,755 km
Moon — raw 11-body12,526 km314,341 km759,011 km
Moon — fitted series future band, edge-adjacent1,275 km1,259 km1,254 km
Moon — fitted series past band, edge-adjacent807 km745 km656 km
Mars62 km470 km700 km
Jupiter76 km382 km765 km
Saturn30 km336 km677 km
Uranus193 km1,223 km2,274 km
Neptune920 km5,805 km12,716 km
Pluto775 km7,299 km12,174 km
1,000-year propagation against DE440. Sun 627 km · Pluto 12,174 km · raw 11-body Moon 759,011 km — read as deviation from a reference ephemeris (propagation consistency), not observational accuracy. Reproduce: cargo run --release -p tks-ephemeris --example engine_b_span 1000 5 0 (barycentric, per body). The lunar result motivates a dedicated lunar solution: DE kernel within its reference-ephemeris coverage, with a fitted lunar series used beyond it — 1,000-year lunar test: ~400–580 km fitted-series deviation inside its band, ≤ 1.25 × 10³ km at the band edge (and still ≈1.25 × 10³ km at 2,000–4,000 yr: a fitted series does not accumulate error; … --example moon_series_check). Run live (choose Δt):

Udaya-asta · heliacal & eclipses

Udaya–asta · Sūrya-siddhānta Ch. 9 on TKS positions layer 4 · Sūrya-siddhānta Ch. 9

Moon12°Venus8° / 10°
Mercury12° / 14°Jupiter11°
Mars17°Saturn15°
Each limit is the C of the Sūrya-siddhānta Ch. 9 rule: a graha is udaya (visible) when its iṣṭa-kālāṃśa K — the lagnāntara in asus ÷ 60, which depends on the place (rising times of the signs) and on the graha's ecliptic latitude — is greater than C; otherwise asta. The east/west and retrograde/direct branch gives Venus 8/10°, Mercury 12/14°. There is no plain Sun–planet longitude-gap test anywhere in TKS.
One rule everywhere. The Pañcāṅga, the kuṇḍalī, the graha-ghaṭanā events and this card read the same function, on TKS apparent ecliptic-of-date positions, for the chosen place. Arcus visionis and Schaefer (on TKS Udaya-Asta) are physical visibility criteria for the eye and are a different question from combustion.

Next solar / lunar eclipse layer 3 · 4

Place-dependent solar eclipse (topocentric) and geocentric lunar eclipse. Method: syzygy search in the TKS apparent pipeline → vector geometry; lunar shadow angle = πMoon ± sSun (atmosphere +2%).
Validation · 2026. Lunar: 3 March Total (umag 1.15, P1 08:43 → P4 14:25 UTC) · 28 August Partial (umag 0.93). Solar: 12 August Total (Reykjavik) · 17 February Annular (Antarctica ~70°S, 140°E) — both match known (NASA/Espenak) values. Full-series catalogue now precomputed over the whole TKS Ephemeris range (−13000…+17189; 71,440 solar + 72,728 lunar) — see the Eclipse page.

Observational phenomena & validation

Conjunction · opposition · station · retrograde · greatest elongation layer 3

Daily scan of TKS apparent longitudes + bisection/extremum search. Station = zero of daily motion; opposition = elongation 180° (outer planets); greatest elongation = inner planets.
Visibility · arcus visionis + Schaefer. arcus visionis (Ptolemaic solar-elongation limit): Mercury 10° · Venus 5° · Mars 11.5° · Jupiter 10° · Saturn 13°. Schaefer photometric: planet magnitude (distance + phase + extinction) vs limiting magnitude from sky surface brightness (Crumey 2014); topocentric altitude + solar depression. Schaefer twilight approximation (constants from literature); full validation needs observational data.

Independent validation own checks

CheckResult
TKS SPK vs jplephem (DE421 · DE440 · DE441)position ≤ 1.1 m · velocity ≈ 10⁻¹⁰ km/s
Apparent astronomy vs SkyfieldICRF RA/Dec ≈ 0.046″ · ecliptic λ/β ≈ 0.047″
Time scale vs xalentests 8/8 · Δ = 0 s
SPK figures are numerical reproduction relative to a reference evaluator — not “reference-kernel accuracy”. Numerical precision ≠ physical accuracy ≠ observational uncertainty.

Error budget & deep-time

Sources

SPK evaluationvalidated
Time conversionvalidated
Light-timeiterative
Aberrationincluded (relativistic)
Solar deflectionincluded
PrecessionIAU 2006
NutationIAU 2000B
ΔTmodel-dependent
UT1observational
Ayanāṃśamodel-dependent
Lunar dynamics (Engine B)engine-dependent
Numerical precision ≠ physical accuracy ≠ observational uncertainty. Our SPK evaluator matches the reference evaluator numerically (≤1 m), but that does not prove the positions are physically identical everywhere — over long spans model/observational uncertainty dominates.

Deep-time ephemeris proven

DE441 reference range: −13,200-05-06 … +17,191-03-15 · 30,390 yr. Long-term propagation of Engine B (full 11-body, tight tolerance) — diagnostics: Δλ · Δβ · Δr · Δv · energy/angular-momentum drift (with Moon). Large Δt is slow (faster in release); 1 kyr–1 Myr = offline batch (experimental).
Disclaimer: deep-time results are dynamical reconstructions, not equivalent to modern observational ephemeris accuracy.
Śāstra / textual reconstruction planned — input: epoch · planet · textual longitude · reference system · ayanāṃśa · calendar interpretation; output: source vs TKS Δλ (kala/vikala). Planned, and deliberately outside the computation this page documents.

Long-term uncertainty · σλ(t)

Engine-B initial-condition Monte-Carlo — σλ(t), arcsec 10 members · σp = 1 km · σv = 1e-6 km/s · offline

Δt (yr)Earth/EMBMercuryVenusMarsJupiterSaturnUranusNeptunePluto
101.49.71.70.780.300.100.030.010.01
10013.749.817.79.42.11.10.570.540.28
10001374201768823147.53.95.4
10000132170271778840274125703920
Sensitivity to the initial state only (model error excluded); σλ grows ≈ linearly in time and scales linearly with the assumed σ. Reproduce: cargo run --release -p tks-ephemeris --example uncertainty (env TKS_MEMBERS, TKS_SKIP_MC).

Engine-B vs DE441 model divergence — |Δλ|, arcsec offline · planets + EMB

Δt (yr)Earth/EMBMercuryVenusMarsJupiterSaturnUranusNeptunePluto
100161010.50.020.010.000.010.040.02
10001668557530.40.090.040.150.580.51
100001777510554466.40.090.601.31.80.63
True model error of the simplified N-body (point masses + 1PN EIH + J2–J6 + C22/S22; no asteroids) against DE441. Threshold 5′ = 300″: the outer planets (Mars through Pluto) stay within at 10 kyr; Mercury, Venus, Earth exceed 5′ by ≈1–2 kyr (values wrap past ~1°). DE440 and DE441 agree to <0.01″ within their overlap, so their difference is not a usable uncertainty proxy.

Provenance & reproducibility

TKS Ephemeris · v0.1 · Engine A (reference) + Engine B (dynamics)
Kernel: dynamic (active kernel below) · Frame: ICRF · Origin: barycentric/geocentric · Reduction: IAU 2006 / IAU 2000B · Ayanāṃśa: Lahiri (ICRC 1956) · Sidereal: true-Spica (Chitra).
संस्करणः bin-1795527110