भारत · ग्रहगणित
स्थान उज्जयिनी 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/purnanka-graha-engine.js

प्रमाण: पाठ SS ch. 1–2 (mean motions, the four operations, the epicycles, the latitudes) · गणित (the text's integers on the lattice; asakṛt) · भारतीय-रूप·पुनर्मापित (the patha tier's bound means and re-measured text numbers, patha-bandha.json)

1262 lines · 31 exports

प्रमाण: पाठ SS ch. 1–2 (mean motions, the four operations, the epicycles, the latitudes) · गणित (the text's integers on the lattice; asakṛt) · भारतीय-रूप·पुनर्मापित (the patha tier's bound means and re-measured text numbers, patha-bandha.json)
लेख · the header

The header, as the file states it

प्रमाण: पाठ SS ch. 1–2 (mean motions, the four operations, the epicycles, the latitudes) · गणित (the text's integers on the lattice; asakṛt) · भारतीय-रूप·पुनर्मापित (the patha tier's bound means and re-measured text numbers, patha-bandha.json) purnanka-graha-engine.js — पूर्णाङ्क ग्रह-यन्त्र: the nine grahas by the Sūrya-Siddhānta's own arithmetic 1.29–1.34 mean motions from the mahāyuga bhagaṇas on 1,577,917,828 civil days (1.37) 1.41–1.44 the apsides (mandocca) and nodes (pāta) move by their kalpa revolutions (KALPA_APSIS_REVS, KALPA_NODE_REVS) 1.45–1.47 452¾ yugas gone at the Kali start 1.68–1.70 greatest latitudes (parama-vikṣepa) 2.17–2.33 the 24 R-sines on R = 3438, linear interpolation, the arc from the sine; Mādhava's sine as an exact alternative 2.34–2.38 manda and śīghra epicycles, even/odd, pulsating with the sine of the bhuja 2.39–2.42 manda-phala, śīghra-phala, the karṇa (hypotenuse) — the text's distance 2.43–2.45 the four operations (half śīghra, half manda, whole manda, whole śīghra) with the half-circle sign rule 2.47–2.51 motion by difference; negative motion is vakra 2.56–2.58 the node corrected by the śīghra (or reversed manda) equation; latitude ÷ the last karṇa; the Moon's by R 7.13–7.23 the discs of the star-planets on the Moon's orbit and the kinds of conjunction (bheda, ullekha, yuddha, samāgama) 9.6–9.9 the setting limits (astāṃśa) — here applied to the longitude difference; the time-degree form is in shastra-patha/ss-drishya.js 12.85–12.90 the kakṣyās in yojanas (Rāhu's own, 12.88) Nothing on the default path is a modern constant. The 2L_J − 5L_Sa long-period harmonic (greatInequalityHarmonics) is research, not a verse, and runs only with { applyGreatInequality: true }. The owner's physics-fact functions at the end of this file (venusPentagramResonance, mercuryRelativisticPrecession, saturnSadeSatiMetrics, jupiterPhysicalDynamics) are the owner's separate work (PROVENANCE §3); no served position reads them.
आवश्यक · requires

What it loads

required by
निर्यात · exports

What it exports

BHAGANASEPICYCLESCANONICAL_MANDOCCAS_ARCMINKALPA_APSIS_REVSKALPA_NODE_REVScomputeKarnaSSPARAMA_VIKSHEPA_ARCMINCANONICAL_GRAHA_NODES_ARCMINCOMBUSTION_LIMITS_DEGSS_JYA_TABLER_SINEssSineRationalssArcSineRationalmadhavaSineRationalmeanLongitudeArcminmandaphalaArcminsighraphalaArcmincomputeRawSpashtaLongitudecomputeAllSpashtaGrahasPathapathaBandhapathaOptionscomputeVikshepaSSdetectGrahaYuddhacomputeSpashtaGrahaSScomputeAllSpashtaGrahasBijacomputeAllSpashtaGrahasSSgreatInequalityHarmonicsvenusPentagramResonancemercuryRelativisticPrecessionsaturnSadeSatiMetricsjupiterPhysicalDynamics
पाठ · 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

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

ssSineRational(arcMinutesQ)lines 75–88exported

Exact rational linear interpolation of the 24-entry SS sine table. arcMinutes in [0, 5400] (0° to 90°).

madhavaSineRational(arcMinutesQ)lines 94–121exported

Mādhava's 5-term rational sine series (Kerala 14th c., encoded in Kaṭapayādi). Exact radius R = 3437'44"48''' = 12,375,888 thirds of arc.

ssArcSineRational(jyaQ)lines 219–246exported

Exact rational inverse sine interpolation using the 24-entry SS Jya table. Given Jya J in [0, 3438'], returns the arc in arcminutes [0, 5400'] (0° to 90°).

Computes Śīghraphala according to Sūrya-Siddhānta 2.39–42 on the pure integer Spanda lattice. @param {string} grahaKey - 'mars', 'mercury', 'jupiter', 'venus', 'saturn' @param {Rational|number|BigInt} planetArcminQ - Longitude of planet or Mandaspaṣṭa in arcmin [0, 21600) @param {Rational|number|BigInt} sighroccaArcminQ - Longitude of Śīghrocca in arcmin [0, 21600)

Computes the raw true geocentric longitude in arcminutes [0, 21600) without computing higher-order kinematic derivatives.

Computes celestial latitude / Vikṣepa (विक्षेप) according to SS 2.56–58.

calls nothing in the registry
called by nothing in the registry

Graha-yuddha (SS 7.18–7.23): the kinds of conjunction of two star-planets, from their separation (7.12) and discs (7.13–7.14) among the 5 Star Planets (Mars, Mercury, Jupiter, Venus, Saturn).

calls nothing in the registry
called by nothing in the registry

Karṇa (the hypotenuse) of the body's epicycle triangle, SS 2.39–2.42, as a ratio to R = 3438. Sun, Moon : manda-karṇa = √((R ± koṭiphala)² + bhujaphala²), the phalas from the manda epicycle (2.39). Tārāgraha : śīghra-karṇa = √((R ± koṭiphala)² + dohphala²) on the manda-corrected place (2.40–2.42). Rāhu/Ketu : no epicycle; the node sits on its own kakṣyā (SS 12.88) — ratio 1. Text arithmetic only:

calls nothing in the registry
called by nothing in the registry
mandaKarna(key)lines 651–651
called by nothing in the registry

Computes the true geocentric position (Spaṣṭa Graha) of any graha according to the full Sūrya-Siddhānta 4-step correction (चतुर्वार संस्कार / Catvāraḥ Saṃskārāḥ, SS 2.43–45): For Sun & Moon: Mandaphala (Equation of Centre). For Rāhu & Ketu: Westward nodal regression. For Mars, Mercury, Jupiter, Venus, Saturn (Tārāgrahas): Step 1: 1/2 Śīghraphala applied to Mean Graha Step 2: 1/2 Mandaphala (from s

calls nothing in the registry
called by nothing in the registry
calls nothing in the registry
called by nothing in the registry

Computes all 9 true planets for an Ahargaṇa, along with Graha Yuddha analysis.

calls nothing in the registry
decimalQ(s)lines 1007–1007
pathaBandha()lines 1008–1025exported
called by nothing in the registry
line(l)lines 1011–1011
calls nothing in the registry
called by pathaBandha
pathaOptions(options = {})lines 1027–1027exported

The text tier's options: the bound numbers and the asakṛt steps, unless options.patha === 'shuddha' (the text's own numbers).

The nine grahas on the text tier: the text's formulas; by default on its re-measured, bound numbers (patha-bandha.json).

calls nothing in the registry
called by nothing in the registry
calls nothing in the registry
called by nothing in the registry
at(dt)lines 1059–1060
called by nothing in the registry
wrap(x)lines 1062–1062
calls nothing in the registry
called by nothing in the registry

883-Year Great Inequality Harmonic for Jupiter and Saturn. Instead of unphysical polynomial T, T^2 regressions that explode at window edges, this models the 2·L_J − 5·L_Sa long-period inequality as a bounded sine wave (research harmonic; not in the text; opt-in). Library sine here and in venusPentagramResonance: research diagnostics, never on the served bīja path (which is Mādhava-only).

calls nothing in the registry
called by nothing in the registry
venusPentagramResonance(dayNumber)lines 1132–1155exported

Venus 8-Year 13:8 Orbital Resonance & Pentagram Geometry.

calls nothing in the registry
called by nothing in the registry
mercuryRelativisticPrecession()lines 1160–1178exported

Mercury Relativistic Perihelion Precession (Einstein 1915).

calls nothing in the registry
called by nothing in the registry
saturnSadeSatiMetrics()lines 1183–1202exported

Saturn Sāḍe Sātī Exact Chronometric Derivation.

calls nothing in the registry
called by nothing in the registry
jupiterPhysicalDynamics()lines 1207–1227exported

Jupiter physical dynamics (owner physics, PROVENANCE §3): oblateness and the 1:2:4 resonance of its three inner moons.

calls nothing in the registry
called by nothing in the registry