yantra/patha/index.js
शास्त्र-पाठ टियर (the text tier)
114 lines · 33 exports
The header, as the file states it
What it loads
- yantra/patha/sphuta.jsmodule
- yantra/patha/ss-graha.jsmodule
- yantra/patha/ss-udaya.jsmodule
- yantra/patha/ss-chaya.jsmodule
- yantra/patha/ss-grahana.jsmodule
- yantra/patha/ss-parilekha.jsmodule
- yantra/patha/ss-drishya.jsmodule
- yantra/patha/ss-chakra.jsmodule
- yantra/patha/ss-ahargana.jsmodule
- yantra/patha/ss-kalpa.jsmodule
- yantra/patha/dhruva.jsmodule
- yantra/patha/panchanga.jsmodule
- yantra/patha/utsava.jsmodule
- yantra/patha/spanda-ganita.jsmodule
- yantra/patha/kala-dvara.jsmodule
- yantra/patha/katapayadi.jsmodule
- yantra/patha/parahita-madhyama.jsmodule
- yantra/patha/candravakya.jsmodule
- yantra/patha/gurutva-sarani.jsmodule
- yantra/udaya-bija.jsmodule
- yantra/ss8-dhruva.jsmodule
What it exports
SphutaSSGrahaSSUdayaSSChayaSSGrahanaSSParilekhaSSDrishyaSSChakraSSAharganaSSKalpaDhruvaPanchangaUtsavaSpandaGanitaKalaDvaraKatapayadiParahitaMadhyamaCandravakyaGurutvagrahasUdayalagnasunRiseSetPROVENANCEtierdefaultseedssourceforeignInputsmodulesconstantsrecordvendoredFromSS verses named in the header
- SS 12.78versemandādadhaḥ krameṇa syuścaturthā divasādhipāḥ । varṣādhipatayastadvattṛtīyāśca prakīrtitāḥ ।।
The channels it runs in
Every function, what it calls, who calls it
6 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.
The Sun for the frame's sunrise: the gurutva-sāraṇī inside its window, the text outside it.
Lagna and madhya-lagna (nirayaṇa) at a civil ahargaṇa, on the udaya-bīja frame (the text's ε, ayanāṃśa and star-rotation with measured bīja). The text's own lagna by rising times is SSUdaya.lagna.
Sunrise and sunset (civil ahargaṇa) of the civil day starting at local midnight `dayStart`; convention 'text' (the Sun's centre on the true horizon) or 'refracted' (upper limb, 34′ refraction).
The nine grahas at a civil ahargaṇa (days since Laṅkā midnight at the Kali start). tier 'gurutva' (default): the owner's gravity integrated from the text's seeds with the bīja of the starting states (the gurutva-sāraṇī, 1850–2150); outside that window the text answers, marked `tier: 'text'`. tier 'text': the Sūrya-Siddhānta as written (Sphuta, SSGraha). Each graha: { lam, beta } in degrees (niraya