yantra/patha/bhugola.js
भूगोल, the place in Vedic units (palabha, deshantara) and how it is measured (Phase B, STEP 2a).
385 lines · 0 exports
The header, as the file states it
What it loads
- yantra/patha/sphuta.jsmodule
- yantra/patha/ss-udaya.jsmodule
- yantra/patha/ss-chaya.jsmodule
- yantra/patha/kala-vibhaga.jsmodule
What it exports
SS verses named in the header
- SS 1.59verseyojanāni śatānyaṣṭau bhūkarṇo dviguṇāni tu । tadvargato daśaguṇātpadaṃ bhūparidhirbhavet ।।
- SS 1.60verselambajyāghnastrijīvāptaḥ sphuṭo bhūparidhiḥ svakaḥ । tena deśāntarābhyastā grahabhuktirvibhājitā ।।
- SS 1.61versekalādi tatphalaṃ prācyāṃ grahebhyaḥ pariśodhayet । rekhāpratīcīsaṃsthāne prakṣipetsyuḥ svadeśajā ।।
- SS 1.62verserākṣasālayadevaukaḥśailayormadhyasūtragāḥ । rohītakaṃ avantī ca yathā sannihitaṃ saraḥ ।।
- SS 1.63verseatītyonmīlanādindoḥ paścāttadgaṇitāgatāt । yadā bhavettadā prācyāṃ svasthānaṃ madhyato bhavet ।।
- SS 1.64verseaprāpya ca bhavetpaścādevaṃ vāpi nimīlanāt । tayorantaranāḍībhirhanyādbhūparidhiṃ sphuṭam ।।
- SS 1.65verseṣaṣṭyā vibhajya labdhaistu yojanaiḥ prāgathāparaiḥ । svadeśaḥ paridhau jñeyaḥ kuryāddeśāntaraṃ hi taiḥ ।।
The channels it runs in
Every function, what it calls, who calls it
19 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.
Palabha in angula·vyangula·prativyangula (60ths of the 12-angula shanku).
Deshantara time (in nadi / ghati, east +) formatted in ghati·pala·vipala and nadi·vinadi·prana.
B10: Shesha digits of |d|/60 day by K9 (kala-vibhaga.js).
B2 + B3: akshakarna, akshajya, lambajya, aksha/lamba in arcminutes (kala), and local circumference in yojana.
B4: Deshantara in nadi from east-west yojana along the place's parallel (east +).
B4 inverse: East-west yojana along the place's parallel from deshantara in nadi (east +).
B4: Graha deshantara correction in kala (arcminutes), subtracted in the east and added in the west (SS 1.61).
Forward noon shadow (angula) and direction ("N" or "S") of the 12-angula shanku from palabha and krantiArcmin (SS 3.20b-22a).
B5: Palabha measured from the equinoctial noon shadow (SS 3.12b-13a), or from any noon shadow + krantiArcmin (SS 3.14b-17a). Accepts either palabhaFromShadow(chayaAngula, opts) or a vedha record { shadowAngula | shadow_angula, dir, krantiArcmin }.
B6: Deshantara from a lunar eclipse contact seen against Ujjayini's computed instant (SS 1.63-65). Supports (seenNadi, ujjayiniNadi, palabhaAngula) or record objects ({ contactNadi, palabha }, { contactNadi }).
B7: Deshantara from observed sunrise and sunset against Ujjayini's computed noon (midpoint cancels cara). Inputs { sunrise, sunset, ujjayiniNoon, palabha, unit }: default unit is 'days' (e.g. JD or civil day fraction: x 60 -> nadi); pass unit: 'nadi' if sunrise, sunset and ujjayiniNoon are already in nadi on the same clock.
B8: Cara (ascensional difference) from palabha and krantijya (signed R-sine of declination, |krantijya| <= 1397).
exportedB9: Sunrise difference from Ujjayini in nadi: (cara_Uj - cara_place) - d_nadi, so an eastern place rises earlier (< 0).
── Complete Vedic place record (B1..B10, every field wrapped with sutra, pramana, source) ────────────────────────────