yantra/patha/graha-ghadi.js
ग्रह-घड़ी, the graha clocks, the nine manas and the pitr face (Phase B, STEP 1b).
227 lines · 0 exports
The header, as the file states it
What it loads
- yantra/patha/sphuta.jsmodule
- yantra/patha/ss-graha.jsmodule
- yantra/patha/kala-dvara.jsmodule
- yantra/patha/kala-vibhaga.jsmodule
- yantra/patha/ss-kalpa.jsmodule
What it exports
SS verses named in the header
- SS 1.13verseaindavastithibhistadvatsaṃkrāntyā saura ucyate । māsairdvādaśabhirvarṣaṃ divyaṃ tadaha ucyate ।।
- SS 1.14versesurāsurāṇāṃ anyonyaṃ ahorātraṃ viparyayāt । tatṣaṣṭiḥ ṣaḍguṇā divyaṃ varṣaṃ āsuraṃ eva ca ।।
- SS 1.37versevasudvyaṣṭādrirūpāṅkasaptādritithayo yuge । cāndrāḥ khāṣṭakhakhavyomakhāgnikhartuniśākarāḥ ।।
- SS 1.45verseṣaṇmanūnāṃ tu sampīḍya kālaṃ tatsandhibhiḥ saha । kalpādisandhinā sārdhaṃ vaivasvatamanostathā ।।
- SS 1.46verseyugānāṃ trighanaṃ yātaṃ tathā kṛtayugaṃ tvidam । projjhya sṛṣṭestataḥ kālaṃ pūrvoktaṃ divyasaṃkhyayā ।।
- SS 1.47versesūryābdasaṃkhyayā jñeyāḥ kṛtasyānte gatā amī । khacatuṣkayamādryagniśararandhraniśākarāḥ ।।
- SS 1.17verseyugasya daśamo bhāgaścatustridvyekasaṅguṇaḥ । kramātkṛtayugādīnāṃ ṣaṣṭhāṃśaḥ sandhyayoḥ svakaḥ ।।
- SS 1.28versevikalānāṃ kalā ṣaṣṭyā tatṣaṣṭyā bhāga ucyate । tattriṃśatā bhavedrāśirbhagaṇo dvādaśaiva te ।।
- SS 2.64versebhabhogo aṣṭaśatīliptāḥ khāśviśailāstathā titheḥ । grahaliptābhabhogāptā bhāni bhuktyā dinādikam ।।
- SS 1.29verseyuge sūryajñaśukrāṇāṃ khacatuṣkaradārṇavāḥ । kujārkiguruśīghrāṇāṃ bhagaṇāḥ pūrvayāyinām ।।
- SS 1.30verseindo rasāgnitritrīṣusaptabhūdharamārgaṇāḥ । dasratryaṣṭarasāṅkākṣilocanāni kujasya tu ।।
- SS 1.34versebhānāṃ aṣṭākṣivasvadritridvidvyaṣṭaśarendavaḥ । bhodayā bhagaṇaiḥ svaiḥ svairūnāḥ svasvodayā yuge ।।
- SS 2.65verseravīnduyogaliptābhyo yogā bhabhogabhājitāḥ । gatā gamyāśca ṣaṣṭighnyo bhuktiyogāptanāḍikāḥ ।।
- SS 2.66versearkonacandraliptābhyastithayo bhogabhājitāḥ । gatā gamyāśca ṣaṣṭighnyo nāḍyo bhuktyantaroddhṛtāḥ ।।
- SS 14.14versetriṃśatā tithibhirmāsaścāndraḥ pitryaṃ ahaḥ smṛtam । niśā ca māsapakṣāntau tayormadhye vibhāgataḥ ।।
- SS 1.55versedvādaśaghnā guroryātā bhagaṇā vartamānakaiḥ । rāśibhiḥ sahitāḥ śuddhāḥ ṣaṣṭyā syurvijayādayaḥ ।।
- SS 1.18verseyugānāṃ saptatiḥ saikā manvantaraṃ ihocyate । kṛtābdasaṃkhyāstasyānte sandhiḥ prokto jalaplavaḥ ।।
- SS 1.19versesasandhayaste manavaḥ kalpe jñeyāscaturdaśa । kṛtapramāṇaḥ kalpādau sandhiḥ pañcadaśaḥ smṛtaḥ ।।
- SS 1.20verseitthaṃ yugasahasreṇa bhūtasaṃhārakārakaḥ । kalpo brāhmaṃ ahaḥ proktaṃ śarvarī tasya tāvatī ।।
- SS 1.21verseparamāyuḥ śataṃ tasya tayāhorātrasaṃkhyayā । āyuṣo ardhamitaṃ tasya śeṣakalpo ayaṃ ādimaḥ ।।
- SS 1.22versekalpādasmācca manavaḥ ṣaḍvyatītāḥ sasandhayaḥ । vaivasvatasya ca manoryugānāṃ trighano gataḥ ।।
- SS 1.23verseaṣṭāviṃśādyugādasmādyātaṃ etatkṛtaṃ yugam । ataḥ kālaṃ prasaṃkhyāya saṃkhyāṃ ekatra piṇḍayet ।।
- SS 12.74versesakṛdudgataṃ abdārdhaṃ paśyantyarkaṃ surāsurāḥ । pitaraḥ śaśigāḥ pakṣaṃ svadinaṃ ca narā bhuvi ।।
The channels it runs in
Every function, what it calls, who calls it
24 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.
── exact rationals (normalised by kala-vibhaga) ───────────────────────────────────────────────────────────────────────
G1: the bhagana clock of a count `rev` (BigInt, a yuga) at t; westward for Rahu.
G4: the own rising day of a count (SS 1.34).
── G5: the difference clocks ───────────────────────────────────────────────────────────────────────────────────────
── G6: the nine manas (SS 14.1-2) ──────────────────────────────────────────────────────────────────────────────────────
The pitr face of an unwrapped true elongation E (degrees: a BigInt, a number, or {num, den}). ctx (from grahaGhadi): the instant and the paksha's bounds as whole spandas of the turn (tau, startSpanda, endSpanda, BigInt) with k, the paksha's count floor(E(tau) / 180); or, as before, t and the paksha's start and end in civil days. With them M08's ghati; with pitryaWhole (the pitrya mana's whole unit
the text's own true elongation (deg, 0..360) at civil day x: sphuta.js, the Sun's and the Moon's manda equations (SS 2)
the same at a whole spanda s of the turn since the Kali epoch, at the exact instant: sphuta.sphuta takes the turn-spandas (BigInt)
the nearest whole spanda of the turn to an exact t (civil days): t RISINGS SPT / Y, rounded, as K1 puts every instant
The paksha that holds t on the whole spandas: tau = t's nearest spanda; k = floor(E(tau) / 180), E the unwrapped true elongation; start = the first spanda with E >= 180 k, end = the first spanda with E >= 180 (k + 1), so start <= tau < end. E(s) - 180 j is taken as the exact mean part 360 L(s) - 180 j (L(s) = s (REV_moon - REV_sun) / (RISINGS SPT), the lunations since the epoch) plus the true-minu
The graha clocks at t (civil days since Lanka midnight at the Kali epoch; exact). opts.elongation(x): the true elongation in degrees at civil day x for the pitr face (the served door passes its own); default the text's (sphuta.js). opts.tier: its label.