yantra/patha/ss-chakra.js
चक्र: the cycles of the Sūrya-Siddhānta's own events — every yuti and every pāta-gate of its true places —
203 lines · 0 exports
The header, as the file states it
What it loads
What it exports
SS verses named in the header
none in the registry
The channels it runs in
Every function, what it calls, who calls it
23 top-level functions read from the source; the doc line is the comment above each; calls and callers are resolved across the registry’s modules by name. Line numbers are the file’s at engine 3f94072.
the text's mean motions, degrees a civil day
geocentric mean motion: Budha's and Śukra's mean is the Sun's (1.29-1.32: their bhagaṇas are the śīghroccas)
kind: "yuti" (default) | "pratiyuti" (with the Sun, outer) | "antar" | "bahir" (Budha/Śukra with the Sun). Returns the days between yutis, the mean step of the yuti's place and the class (the element that decides). Budha–Śukra: null.
the polygons: convergents n of step/360 (n ≤ max), each with its years and its mean drift (exact, from the integers)
rms over x ∈ [0, 360) of Σ c·[f(x + φ + slip) − f(x + φ)]: terms tied to one phase
the elongation curve: the offset δ(φ) of the cycle's first yuti of inner graha I with outer graha O from the mean Sūrya–O yuti, φ = I's śīghra kendra at that mean yuti: τ the first root of ν·τ − S_O(ν·τ) + ε_I(φ + ω·τ) = 0, δ = n_O·τ + S_O(ν·τ).
The scatter (degrees, rms) of the polygon's return, by the rule, with the part each element contributes. a, b as in meanCycle (with the Sun: b = "sun"). `n` events; `t` an epoch for the apsides (civil days; default 1872000).
years Y in which Budha's and Śukra's śīghra phases (against the Sun) both come back nearest yet (record-setting)
at a lock: how far each Budha–Śukra yuti moves when the two phases return short by δ_B, δ_Ś (the elongation law): Δt = (Δε_Ś − Δε_B)/(ε̇_B − ε̇_Ś), ΔL = (n☉ + ε̇_B)·Δt + Δε_B, Δε = ε̇·δ/ω. ε̇ are the elongation rates at the yuti (degrees/day).
the months and years of the eclipse cycles, in civil days, from the integers, and the classic coincidences
── yutis with the Sun, and the transits ────────────────────────────────────────────────────────────────────────
yutis of a planet with the Sun in [t1, t2): kind "antar" | "bahir" (Budha, Śukra) or "yuti" | "pratiyuti" (outer).
Budha's or Śukra's transits in [t1, t2): antar-yutis whose latitude (2.56-2.57) is under the half-sum of the Sun's disc (4.2-4.3) and the planet's (7.13-7.14), in arcminutes.
the beat that brings an antar-yuti vertex back to the pāta: Śukra 8·Ś − 13·S, and the antar polygons with the drift