yantra/purnanka-panchanga.js
प्रमाण: पाठ SS ch. 1–2 and the pañcāṅga rules (tithi, nakṣatra, yoga, karaṇa, vāra) · गणित (exact instants on the lattice)
324 lines · 11 exports
The header, as the file states it
What it loads
- yantra/spanda-lattice.jsmodule
- yantra/purnanka-graha-engine.jsmodule
- yantra/bija-samskara.jsmodule
- yantra/udaya-bija.jsmodule
- yantra/purnanka-bandha-tantra.jsmodule
- yantra/meridian.jsmodule
What it exports
VARASTITHI_NAMESNAKSHATRASYOGASCARA_KARANASgetKaranaNametrueSunLongitudeArcmintrueMoonLongitudeArcmincomputePurnankaPanchangafindTithiAntaSpandafindNakshatraAntaSpandaSS verses named in the header
none in the registry
The channels it runs in
Every function, what it calls, who calls it
11 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.
── True Longitude Calculation for Sun and Moon ─────────────────────────────
Computes the complete 5 limbs of the Pañcāṅga for a given Ahargaṇa and Spanda offset. @param {bigint|number} ahargana - Days from epoch (Kaliyuga start = 0) @param {bigint|number} spandaOffset - Intra-day tick in spandas of the turn since the civil day's start [0, ⌈N·R/S⌉) @param {Object} [opts] - { tier: 'bandha' (the closed system: purnanka-bandha-tantra.js) | 'bija' (default: the bīja Sun and M
Spanda-Exact Bisection for Tithi Transition (तिथि अन्त). Finds the exact Spanda tick when (λ_Moon - λ_Sun) crosses targetArcmin.
Spanda-Exact Bisection for Nakṣatra Transition (नक्षत्र अन्त). Finds the exact Spanda tick when λ_Moon crosses targetArcmin.