yantra/vedic-siddhanta-engine.js
प्रमाण: पाठ SS ch. 3 (tripraśna: śaṅku, palabhā, cara, dinamāna) with Āryabhaṭīya and Siddhānta-śiromaṇi where named · गणित
547 lines · 14 exports
The header, as the file states it
What it loads
- yantra/spanda-lattice.jsmodule
- yantra/purnanka-graha-engine.jsmodule
- yantra/paramparik-ganita.jsmodule
- yantra/patha/sphuta.jsmodule
- yantra/patha/ss-udaya.jsmodule
- yantra/patha/ss-ahargana.jsmodule
- yantra/udaya-bija.jsmodule
- yantra/bija-samskara.jsmodule
What it exports
SAMVATSARA_NAMESRASHI_DATANAKSHATRA_DATAYOGA_DATAVARA_DATARITU_NAMES_SAMASA_NAMES_SATITHI_NAMES_SAKARANA_CARA_SAKARANA_STHIRA_SAcomputeSiddhanticAharganaishtakalaToSpandasgetSamvatsaracomputeParipurnaVedicEngineSS verses named in the header
- SS 1.55versedvādaśaghnā guroryātā bhagaṇā vartamānakaiḥ । rāśibhiḥ sahitāḥ śuddhāḥ ṣaṣṭyā syurvijayādayaḥ ।।
The channels it runs in
Every function, what it calls, who calls it
10 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.
शुद्ध वैदिक अहर्गण साधन: कलि वर्ष -> सौर मास -> अधिक मास -> चान्द्र मास -> तिथि -> क्षय तिथि -> अहर्गण
@param {number} ishtakalaGhati - सूर्योदय से बीती घटी [0, 60) @param {number} ishtakalaPala - सूर्योदय से बीते पल [0, 60) The iṣṭakāla is counted in CIVIL (sāvana) ghaṭī and pala — sixtieths of the civil day, as printed pañcāṅgas count it; on the turn clock (D1c) it is that part of a civil day in spandas of the turn: an exact rational, never whole.
SS 1.55: the mean Jupiter's revolutions × 12 + its signs, counted from Vijaya, mod 60, name the saṃvatsara (the Bārhaspatya year of the mean Jupiter's sign). Given an ahargaṇa the count is exact; the older Kali-year convention (luni-solar Śālivāhana count, (k + 11) mod 60) is kept under `kaliCycleName` for comparison only.
── आन्तरिक सहायक फलन (Internal Helpers) ──────────────────────────────────── the Sun and Moon of a tier, as arcminutes: the bīja tier (default), or the text tier ({ tier: 'patha', patha })