yantra/parashara-dasha-engine.js
प्रमाण: पाठ BPHS (Viṃśottarī, Aṣṭottarī, Yoginī daśās; the special lagnas and upagrahas) · गणित (exact periods on the lattice) · D11: no āyurdāya is served
468 lines · 11 exports
The header, as the file states it
What it loads
What it exports
VIMSHOTTARI_LORDSTOTAL_DASHA_YEARSASHTAKAVARGA_BINDU_TOTALSASHTOTTARI_LORDSYOGINI_LORDScomputeDashaBalanceAtBirthcomputeMicroDashaAtInstantcomputeParasharaSpecialLagnascomputeParasharaUpagrahascomputeAshtottariDashacomputeYoginiDashaSS verses named in the header
none in the registry
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.
Computes exact balance of Viṃśottarī Mahādaśā at birth/epoch. @param {Rational|number} moonArcminQ - Moon longitude in arcminutes [0, 21600)
Computes the complete 6-level micro-daśā sequence at any elapsed time from birth. Micro levels: 1. Mahādaśā 2. Antardaśā (Bhukti) 3. Pratyantardaśā 4. Sūkṣmadaśā 5. Prāṇadaśā 6. Dehadaśā (seconds to spanda level)
Function to recursively compute sub-daśās
Computes Parāśara's 4 Sacred Special Lagnas: 1. Bhāva Lagna: Advances 1 rāśi (30° / 1800') every 2 hours (5 ghaṭīs) from Sun's place at sunrise 2. Horā Lagna: Advances 1 rāśi (30° / 1800') every 1 hour (2.5 ghaṭīs) from Sun's place at sunrise 3. Ghaṭī Lagna: Advances 1 rāśi (30° / 1800') every 1 ghaṭī (24 minutes) from Sun's place at sunrise 4. Prāṇapada Lagna: Synchronized with respiration! Advan
Computes the 5 mathematical non-luminous planets (Upagrahas): 1. Dhūma = Sun + 133° 20' (8000') 2. Vyatīpāta = 360° (21600') - Dhūma 3. Pariveṣa = Vyatīpāta + 180° (10800') 4. Indracāpa (Kodanda) = 360° (21600') - Pariveṣa 5. Upaketu (Sikhi) = Indracāpa + 16° 40' (1000')