yantra/purnanka-bhava-guna-engine.js
प्रमाण: पाठ (Śrīpati's bhāva cusps and sandhis; the bhāva chalita; the three guṇas as the texts assign them) · गणित · D11: the māraka classification is not served
638 lines · 9 exports
The header, as the file states it
What it loads
- yantra/spanda-lattice.jsmodule
- yantra/purnanka-graha-engine.jsmodule
- yantra/patha/ss-udaya.jsmodule
- yantra/paramparik-ganita.jsmodule
- yantra/udaya-bija.jsmodule
- yantra/meridian.jsmodule
- yantra/purnanka-siddhanta-advanced.jsmodule
What it exports
NAKSHATRA_TRAIGUNYA_CATALOGBHAVA_CLASSIFICATIONGRAHA_GUNAScomputeSiddhanticRisingTimescomputeSiddhanticLagnaAndMCcomputeSripatiBhavaSphutaevaluateBhavaChalitacomputeTriGunaEquilibriumMatrixevaluateFourPillarsCosmicSystemSS verses named in the header
- SS 3.42versematsyadvayāntarayutestrispṛkṣūtreṇa bhābhramaḥ । tribhadyukarṇārdhaguṇāḥ svāhorātrārdhabhājitāḥ ।।
The channels it runs in
Every function, what it calls, who calls it
9 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.
Rising times of the twelve signs at a place (asus), SS 3.42–3.45 by the text's arithmetic (shastra-patha/ss-udaya.js): the Laṅkā risings 1670, 1795, 1935 as stated in 3.44, the cara-khaṇḍas from the palabhā through the sine table and 1397. @param {number} palabhaAngula - equinoctial noon shadow of the 12-aṅgula gnomon (default: the site's, 5;8,07 aṅgula by the text's 24 jyās, paramparik-ganita)
exportedLagna and madhya-lagna (daśama) by the Sūrya-Siddhānta: 3.10 the Sun is first corrected by the ayanāṃśa (sāyana) for everything that follows declination; 3.46–3.48 lagna from the Sun's bhogya asus, whole signs, and the remainder in the sign reached; 2.62–2.63, 3.49 the half-day is 15 ghaṭīs ± the Sun's cara; the nata (asus from midday) added to the Sun's Laṅkā ascension gives the meridian's asus,
Computes all 12 Bhāva Madhyas (House Cusps) and Bhāva Sandhis (Boundaries) according to the canonical Śrīpati Paddhati. @param {number} lagnaDeg - 1st House cusp (Ascendant) [0, 360) @param {number} mcDeg - 10th House cusp (Midheaven / Daśama) [0, 360)
Evaluates Bhāva Chalita (House placement) for all 9 Grahas. A graha is placed in Bhāva i if startSandhi <= planetDeg < endSandhi.
Calculates the exact Guṇa (Sattva, Rajas, Tamas) balance of the entire cosmic sky at any moment, integrating all 4 pillars: 27 Nakṣatras, 12 Bhāvas, 9 Grahas, and 12 Rāśis.
Master evaluator unifying the 4 cosmic pillars: 27 Nakṣatras + 12 Bhāvas + 9 Grahas + 3 Guṇas.