yantra/drk-udaya.js
प्रमाण: पाठ (SS 3.1–3.8 śaṅku and chāyā — the 12-aṅgula gnomon, palabhā, the noon shadow; 2.46, 2.61 udayāntara and cara —
102 lines · 7 exports
The header, as the file states it
What it loads
- yantra/udaya-bija.jsmodule
- yantra/madhava-ganita.jsmodule
- yantra/bija-samskara.jsmodule
- yantra/drk-lambana.jsmodule
- yantra/patha/ss-chaya.jsmodule
- yantra/rahu-ketu-sandhi.jsmodule
- yantra/meridian.jsmodule
What it exports
shadowsolarTimeriseSetaltAzapparentNoonREFRACTION_ARCMINMOON_SEMIDIAMETER_MEAN_ARCMINSS verses named in the header
- SS 3.1verseśilātale ambusaṃśuddhe vajralepe api vā same । tatra śaṅkvaṅgulairiṣṭaiḥ samaṃ maṇḍalaṃ ālikhet ।।
- SS 3.2versetanmadhye sthāpayecchaṅkuṃ kalpanādvādaśāṅgulam । tacchāyāgraṃ spṛśedyatra vṛtte pūrvāparārdhayoḥ ।।
- SS 3.3versetatra bindū vidhāyobhau vṛtte pūrvāparābhidhau । tanmadhye timinā rekhā kartavyā dakṣiṇottarā ।।
- SS 2.46versearkabāhuphalābhyastā grahabhuktirvibhājitā । bhacakrakalikābhistu liptāḥ kāryā grahe arkavat ।।
The channels it runs in
Every function, what it calls, who calls it
11 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.
altitude and azimuth (degrees; azimuth from north through east) of a nirayaṇa place (λ, β) at t from the site
SS 3.1–3.8: the 12-aṅgula gnomon now. The shadow points away from the Sun; its length is 12 × koṭi ÷ śaṅku.
the instant of apparent noon of the civil day holding t at the place (the true Sun on the meridian), by bisection on its hour angle
apparent solar time at the place (what a sundial reads) and the mean time: 12h + the true Sun's hour angle; and the difference udayāntara + bhujāntara (SS 2.46) — "the equation of time" in the text's own names.
rising/setting of a body in civil day N at the place. opts.convention: 'text' | 'drk' (default 'drk'); opts.limb 'upper' | 'centre'