स्थान उज्जयिनी Ujjayinī · change it on a tool⌕ search the कोश ⌘Kप्रहर—·—:—:—ours, from sunriseउज्जयिनी—:—:—UTC + λ/15 h, λ = 75.7682° E (D13)IST Error −26.9 minlocal mean time − IST = 4λ − 330 min (K12)engine 3f94072the site ↗
yantra/patha/sukshma-kala.js
सूक्ष्म-काल: the resolution the divisional charts (vargas) demand of time, with exact division
197 lines · 0 exports
लेख · the header
The header, as the file states it
sukshma-kala.js — सूक्ष्म-काल: the resolution the divisional charts (vargas) demand of time, with exact division
arithmetic, and the lattice that links the nakṣatra loop (ℤ/27) to the graha loop (ℤ/9).
WHY. A varga D-n divides each sign of 30° into n parts; a placement is decided only when the body's longitude is
farther from the nearest part boundary than the uncertainty of that longitude. The finest parts are small: one
ṣaṣṭyāṃśa (D-60) is 30′, one nāḍyaṃśa (D-150) is 12′. The lagna moves about a degree in four minutes of clock, the
Moon 13° in a day, so the same parts are a minute or a few seconds of birth time for the lagna and tens of minutes for
the Moon. This file states those numbers for any varga and any rate, computes every index and margin exactly, and
gives the lattice identities. It judges nothing about a chart; it measures what a tier's declared uncertainty leaves
decided. The uncertainties themselves are the tiers' measured figures (the research page passes them in).
THE RULES. The sixteen vargas of Bṛhat Parāśara Horā Śāstra ch.6 as the local edition states them (editions/
parashara-rahasya-full-edition.html, the "गणित / तकनीक" lines) and as math-core.js computeVarga has long computed
them: equal arcs of 30°/n counted from a sign that depends on the sign's parity or triplicity, the triṃśāṃśa's
unequal arcs (odd signs 5/5/8/7/5, even 5/7/8/5/5), the horā's halves. D-144 (the dvādaśāṃśa's dvādaśāṃśa) and D-150
(the nāḍyaṃśa of the nāḍī texts) are not among the edition's sixteen: counted from the sign itself [standard].
sukshma-kala.test.js checks every rule against computeVarga on random longitudes and the exact boundaries.
ARITHMETIC. Longitudes come in as degrees (float, the tiers' output); they are rounded once to micro-arcseconds
(BigInt) and every division, index and margin is exact after that. Nothing here is trigonometric; nothing is imported.
THE LATTICE. 27 nakṣatras × 4 pādas = 108 = 12 rāśis × 9 navāṃśas, and one pāda = one navāṃśa = 3°20′ exactly, so the
pāda index k ∈ ℤ/108 of a longitude gives both its nakṣatra (⌊k/4⌋) and its navāṃśa within the sign (k mod 9)
[theorem]. The Vimśottarī lord of a nakṣatra is its index mod 9 in the order Ketu, Śukra, Sūrya, Candra, Maṅgala, Rāhu,
Guru, Śani, Budha from Aśvinī (BPHS 46.12-46.13, dasha.js), the 27 → 9 projection; the balance at birth is the part of
the nakṣatra gone (46.16), so one minute of arc of the Moon is years × 365.26 ÷ 800 days of daśā. These are counting
identities: they carry no information about the sky. The accuracy of the loop is the accuracy of the Moon, the lagna
and the frame that feed it.
Browser: window.SukshmaKala; node: module.exports.
18 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 part index within the sign (0 … n−1; the triṃśāṃśa's 0 … 4) and the distance to the nearest boundary of the source division, exact in µas: { part, marginMicro, marginArcsec, lowerMicro, upperMicro }.
What a varga's part is in time, for given rates: the lagna's seconds of clock (deg a minute), the Moon's minutes and the Sun's hours (deg a day). For the triṃśāṃśa the smallest part (5°) is used.
The cell of a longitude on the 108-lattice: k = ⌊λ / 3°20′⌋, its nakṣatra (1…27), pāda (1…4), rāśi (0…11), navāṃśa within the sign (0…8) — and the theorem that the navāṃśa index equals k mod 9 (checked in the test).
ν₃(n): how many times 3 divides the integer n (BigInt or integer); the level k at which n lies in the owner's tower (ℤ/3^k ℤ, 2, k). ν₃ = 0 means n is a unit mod 3^k for every k (invertible); the kuṭṭaka on such a count always solves.
The cycles of x ↦ g·x on ℤ/modulus (g = 2 by default): structure only — no daśā or transit rule is derived from it. On ℤ/9 the cycle lengths are 1, 6, 2 and on ℤ/27 they are 1, 18, 6, 2 [theorem]; so no order that runs through all 9 lords or all 27 nakṣatras in one cycle (the Vimśottarī order, the nakṣatra succession) is a doubling orbit: those are the orbits of x ↦ x + 1.