yantra/patha/muhurta.js
मुहूर्त: the day's divisions and the windows the texts tell us to avoid, each with its source.
208 lines · 0 exports
The header, as the file states it
What it loads
- yantra/patha/panchanga.jsmodule
- yantra/patha/sphuta.jsmodule
- yantra/patha/dhruva.jsmodule
- yantra/patha/kala-dvara.jsmodule
What it exports
SS verses named in the header
- SS 11.1verseekāyanagatau syātāṃ sūryacandramasau yadā । tadyutau maṇḍale krāntyostulyatve vaidhṛtābhidhaḥ ।।
- SS 11.2verseviparītāyanagatau candrārkau krāntiliptikā । samāstadā vyatīpāto bhagaṇārdhe tayoryutau ।।
- SS 11.3versetulyāṃśujālasamparkāttayostu pravahāhataḥ । taddṛkkrodhabhavo vahnirlokābhāvāya jāyate ।।
- SS 11.4versevināśayati pāto asminlokānāṃ asakṛdyataḥ । vyatīpātaḥ prasiddho ayaṃ sañjñābhedena vaidhṛtaḥ ।।
- SS 11.5versesa kṛṣṇo dāruṇavapurlohitākṣo mahodaraḥ । sarvāniṣṭakaro raudro bhūyo bhūyaḥ prajāyate ।।
- SS 11.6versebhāskarendvorbhacakrāntaścakrārdhāvadhisaṃsthayoḥ । dṛktulyasādhitāṃśādiyuktayoḥ svāvapakramau ।।
- SS 11.7verseathaujapadagasyendoḥ krāntirvikṣepasaṃskṛtā । yadi syādadhikā bhānoḥ krānteḥ pāto gatastadā ।।
- SS 11.8verseūnā cetsyāttadā bhāvī vāmaṃ yugmapadasya ca । padānyatvaṃ vidhoḥ krāntivikṣepāccedviśudhyati ।।
- SS 11.9versekrāntyorjye trijyayābhyaste parakrāntijyayoddhṛte । taccāpāntaraṃ ardhaṃ vā yojyaṃ bhāvini śītagau ।।
- SS 11.10verseśodhyaṃ candrādgate pāte tatsūryagatitāḍitam । candrabhuktyā hṛtaṃ bhānau liptādi śaśivatphalam ।।
- SS 11.11versetadvacchaśāṅkapātasya phalaṃ deyaṃ viparyayāt । karmaitadasakṛttāvadyāvadkrāntī same tayoḥ ।।
- SS 11.19verseravīndvostulyatā krāntyorviṣuvatsannidhau yadā । dvirbhaveddhi tadā pātaḥ syādabhāvo viparyayāt ।।
- SS 11.20verseśasāṅkārkayuterliptā bhabhogena vibhājitāḥ । labdhaṃ saptadaśānto anyo vyatīpātastṛtīyakaḥ ।।
- SS 11.21versesārpendrapauṣṇyadhiṣṇyānāṃ antyāḥ pādā bhasandhayaḥ । tadagrabheṣvādyapādo gaṇḍāntaṃ nāma kīrtyate ।।
The channels it runs in
Every function, what it calls, who calls it
13 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.
Fifteen equal muhūrtas of the day (sunrise→sunset) and fifteen of the night (sunset→next sunrise).
Instant near t when f(t) = 0, f monotone increasing through 0 in angle (degrees).
Windows in [t1, t2) during which a limb of panchanga.limbsAt takes one of `values`.
An empty list marked `polar`: the Sun does not rise or set that civil day, so it has no sunrise-to-sunrise windows.
Exclusion windows touching civil day N at the site, each with its source.
SS 11.1-11.12, 11.19: middle instants of the Vyatīpāta and Vaidhṛta pātas whose middle falls in [t1, t2). Vaidhṛta (11.1): same ayana, sāyana longitudes summing to a circle, declinations equal (opposite signs). Vyatīpāta (11.2): opposite ayanas, sum half a circle, declinations equal (same sign). Either ayana condition follows from the sum. The Moon's declination is corrected by her latitude (11.7)
The instant before t at which the rising sign became `index` (searching back at most a day).
The rising signs through civil day N (sunrise to next sunrise): start and end of each.
Tārā of the day's nakṣatra counted from the birth nakṣatra (both 1…27): 1…9; vipat, pratyari, vadha (3, 5, 7) are the ones BPHS 44.17 names. Names of all nine: the edition's commentary on BPHS, not a verse.