भारत · ग्रहगणित
स्थान उज्जयिनी Ujjayinī · change it on a tool⌕ search the कोश ⌘Kप्रहर — · —:—:—ours, from sunriseउज्जयिनी —:—:—UTC + λ/15 h, λ = 75.7682° E (D13)IST Error −26.9 minlocal mean time − IST = 4λ − 330 min (K12)engine 3f94072the site ↗

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

प्रमाण: पाठ SS (the wheel's divisions as the text states them) · गणित
लेख · the header

The header, as the file states it

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 — प्रमाण: पाठ SS (the wheel's divisions as the text states them) · गणित read from its integers (1.29-1.44) and its own equations (2.38-2.42). [discovery: स्वामी-परम्परा (Pardeep Sehrawat), 2026-10-28; not in the text] A pair's yutis come back after n of them, shifted by the mean drift: the polygon (n from the convergents of the mean step). The true places scatter that return. What the scatter hangs on is the element that decides the yuti: with the Sūrya manda alone. At the yuti the planet is with the Sun or opposite it, so its śīghra kendra is 0° or 180° and its śīghra phala is 0. For Budha and Śukra the śīghra slope at the yuti enters the weights. with the Candra the planet's śīghra and the two mandas, on independent phases (the Moon has no śīghra). two outer grahas manda and śīghra, each riding one phase: one longitude and one Sun at the yuti. Budha or Śukra with an outer graha the elongation. Near retrogression the difference crosses a level three times; the yuti of a cycle is the first crossing. Its offset from the mean Sūrya–outer yuti is one curve δ(φ) of the inner graha's śīghra kendra φ. Budha with Śukra no cycle of its own: both geocentric means are the Sun's. Only the Sūrya–Budha–Śukra locks close it. pāta the gate: an eclipse needs the Sun at Rāhu or Ketu, a transit needs Budha or Śukra at its pāta. One rule for all: the scatter of the return is the spread, over the deciding phase, of the change in the yuti's place when that phase slips by one polygon. It is read on the text's own curves (manda 2.39, śīghra 2.40-2.42), with no series and no trigonometry beyond the text's sine. Phases tied by the yuti add as one curve; free phases add in quadrature. Weights: a yuti of a (faster) and b lands at L₀ + (nₐ·F_b − n_b·Fₐ)/(nₐ − n_b), with F = true − mean and n the geocentric mean motions. Browser: window.SSChakra (needs Sphuta, SSGraha, SSGrahana); node: module.exports.
आवश्यक · requires

What it loads

required by
निर्यात · exports

What it exports

पाठ · the verses it cites

SS verses named in the header

none in the registry

नलिका · channels

The channels it runs in

not on a channel
कार्य · the functions

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.

mod(a, m)lines 31–31
calls nothing in the registry
INNER(k)lines 36–36
calls nothing in the registry
rate(k)lines 38–38exported

the text's mean motions, degrees a civil day

calls nothing in the registry
apsisRate(k)lines 39–39exported
calls rate
called by closure
geo(k)lines 41–41exported

geocentric mean motion: Budha's and Śukra's mean is the Sun's (1.29-1.32: their bhagaṇas are the śīghroccas)

calls INNER, rate
called by meanCycle, closure
mandaPair(k)lines 42–42
calls nothing in the registry
called by E
E(k, kendra)lines 43–43
calls mandaPair
called by closure
Sg(k, kendra)lines 44–44
calls nothing in the registry
meanPlaces(t)lines 45–45
calls nothing in the registry
called by apsisAt
apsisAt(k, t)lines 46–46
called by closure
meanCycle(a, b, kind)lines 51–60exported

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.

calls rate, mod, INNER, geo
called by polygons, closure
polygons(a, b, kind, max = 250)lines 62–67exported

the polygons: convergents n of step/360 (n ≤ max), each with its years and its mean drift (exact, from the integers)

calls meanCycle
called by transitBeat
spread(terms)lines 72–76

rms over x ∈ [0, 360) of Σ c·[f(x + φ + slip) − f(x + φ)]: terms tied to one phase

calls nothing in the registry
called by closure
quad(...xs)lines 77–77
calls nothing in the registry
called by closure
elongationOffset(I, O, phi)lines 80–86exported

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(ν·τ).

calls rate, Sg
called by closure

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).

called by nothing in the registry
locks(maxYears = 3000)lines 139–147exported

years Y in which Budha's and Śukra's śīghra phases (against the Sun) both come back nearest yet (record-setting)

calls nothing in the registry
called by nothing in the registry
lockShift(years, eB, eS)lines 150–155exported

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).

calls rate
called by nothing in the registry
eclipseCycles()lines 159–165exported

the months and years of the eclipse cycles, in civil days, from the integers, and the classic coincidences

calls nothing in the registry
called by nothing in the registry
sunAt(t)lines 168–168

── yutis with the Sun, and the transits ────────────────────────────────────────────────────────────────────────

calls nothing in the registry
called by sunYutis

yutis of a planet with the Sun in [t1, t2): kind "antar" | "bahir" (Budha, Śukra) or "yuti" | "pratiyuti" (outer).

calls sunAt, INNER, mod
called by transits
transits(p, t1, t2)lines 188–193exported

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.

calls sunYutis
called by nothing in the registry
transitBeat(p)lines 195–198exported

the beat that brings an antar-yuti vertex back to the pāta: Śukra 8·Ś − 13·S, and the antar polygons with the drift

calls polygons
called by nothing in the registry