{
  "title": "Surya Siddhanta Rahasya",
  "subtitlePrefix": "सूर्यसिद्धान्त रहस्यम् · Mathematical Astronomy (14 Adhikaras)",
  "badge": "Astronomical Treatise · 14 Chapters",
  "price": "HTML · 14 adhikāra · 500 verses",
  "chapters": [
    {
      "num": 1,
      "nameSa": "मध्यमाधिकारः",
      "nameEn": "Mean Motion & Mahayuga Calculus",
      "shortTitle": "1. Madhyamadhikara",
      "verseRange": "Verses 1.1 – 1.70 (70 श्लोक in the edition) · shown here: 1.20, 1.37",
      "readingTime": "14 min study",
      "overview": "Establishes the fundamental chronological coordinate system of Vedic astronomy. Decodes the 4,320,000-year Mahayuga, the exact solar civil days per cycle (1,577,917,828 days), Ahargana day-count summation, and mean planetary velocity vectors.",
      "slokas": [
        {
          "deva": "इत्थं युगसहस्रेण भूतसंहारकारकः ।\nकल्पो ब्राह्मं अहः प्रोक्तं शर्वरी तस्य तावती ॥",
          "meter": "सूर्य-सिद्धान्त 1.20",
          "translit": "itthaṃ yugasahasreṇa bhūtasaṃhārakārakaḥ ।\nkalpo brāhmaṃ ahaḥ proktaṃ śarvarī tasya tāvatī ।।",
          "anvaya": [
            {
              "sa": "इत्थम्",
              "en": "इस प्रकार"
            },
            {
              "sa": "युग-सहस्रेण",
              "en": "एक हजार युगों से"
            },
            {
              "sa": "भूत-संहार-कारकः",
              "en": "भूतों/प्राणियों के संहार का हेतु"
            },
            {
              "sa": "कल्पः",
              "en": "कल्प"
            },
            {
              "sa": "ब्राह्मम् अहः",
              "en": "ब्रह्मा का दिन"
            },
            {
              "sa": "प्रोक्तम्",
              "en": "कहा गया"
            },
            {
              "sa": "शर्वरी",
              "en": "रात्रि"
            },
            {
              "sa": "तस्य",
              "en": "उसकी"
            },
            {
              "sa": "तावती",
              "en": "उतनी ही (समान माप की)"
            }
          ],
          "translation": "Thus a thousand yugas make the kalpa that brings about the dissolution of beings. That kalpa is called a day of Brahmā; his night is of equal length.",
          "source": "editions/surya-siddhanta-full-edition.html#v1-20 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 1.20)"
        },
        {
          "deva": "वसुद्व्यष्टाद्रिरूपाङ्कसप्ताद्रितिथयो युगे ।\nचान्द्राः खाष्टखखव्योमखाग्निखर्तुनिशाकराः ॥",
          "meter": "सूर्य-सिद्धान्त 1.37",
          "translit": "vasudvyaṣṭādrirūpāṅkasaptādritithayo yuge ।\ncāndrāḥ khāṣṭakhakhavyomakhāgnikhartuniśākarāḥ ।।",
          "anvaya": [
            {
              "sa": "वसुद्व्यष्टाद्रिरूपाङ्कसप्ताद्रितिथयः",
              "en": "१,५७,७९,१७,८२८ सावन (वसु ८, द्वि २, अष्ट ८, अद्रि ७, रूप १, अङ्क ९, सप्त ७, अद्रि ७, तिथि १५)"
            },
            {
              "sa": "युगे",
              "en": "महायुग में"
            },
            {
              "sa": "चान्द्राः",
              "en": "चान्द्र दिन (तिथि-गण)"
            },
            {
              "sa": "खाष्टखखव्योमखाग्निखर्तुनिशाकराः",
              "en": "१,६०,३०,००,०८० (ख ०, अष्ट ८, ख ०, ख ०, व्योम ०, ख ०, अग्नि ३, ख ०, ऋतु ६, निशाकर १)"
            }
          ],
          "translation": "In a yuga there are 1,577,917,828 civil (sāvana) days and 1,603,000,080 lunar days (tithis). These two tallies are the backbone of the yuga calendar arithmetic.",
          "source": "editions/surya-siddhanta-full-edition.html#v1-37 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 1.37)"
        }
      ],
      "formula": {
        "title": "Ahargana & Mean Planetary Longitude Equation",
        "latex": "\\bar{\\lambda}_{\\text{graha}} = \\left( \\frac{\\text{Ahargaṇa} \\times B_{\\text{graha}}}{1577917828} \\times 360^\\circ \\right) \\pmod{360^\\circ}",
        "notes": "Exact rational multiplication before division eliminates 64-bit floating-point accumulation drift over 5,127+ years of Kaliyuga."
      },
      "codeSnippet": "def compute_madhyama(ahargana, bhagana, yuga_days=1577917828):\n    mean_rev = (ahargana * bhagana) / yuga_days\n    mean_deg = (mean_rev % 1.0) * 360.0\n    return round(mean_deg, 6)",
      "codeOutput": "Input: Ahargana = 1,865,420 civil days since the Kaliyuga epoch\ncompute_madhyama(1865420, 4320000) → Sūrya mean longitude: 42.903923°\ncompute_madhyama(1865420, 57753336) → Chandra mean longitude: 70.821161°\n(bhagaṇa per Mahāyuga: Sūrya 4,320,000 · Chandra 57,753,336)\nComputed by executing this snippet (Python 3)."
    },
    {
      "num": 2,
      "nameSa": "स्पष्टाधिकारः",
      "nameEn": "True Longitude & Dual Epicyclic Calculus",
      "shortTitle": "2. Spashtadhikara",
      "verseRange": "Verses 2.1 – 2.69 (69 श्लोक in the edition) · shown here: 2.38",
      "readingTime": "16 min study",
      "overview": "Rigorous non-Keplerian orbital perturbation calculus. Resolves true planetary positions through pulsating Manda (eccentricity) and Śīghra (synodic-anomaly) epicycles using variable circumference equations.",
      "slokas": [
        {
          "deva": "ओजयुग्मान्तरगुणा भुजज्या त्रिज्ययोद्धृता ।\nयुग्मे वृत्ते धनर्णं स्यादोजादूनाधिके स्फुटम् ।।",
          "meter": "सूर्य-सिद्धान्त 2.38",
          "translit": "ojayugmāntaraguṇā bhujajyā trijyayoddhṛtā ।\nyugme vṛtte dhanarṇaṃ syādojādūnādhike sphuṭam ।।",
          "anvaya": [
            {
              "sa": "ओज-युग्म-अन्तर",
              "en": "विषम–सम परिधि-भेद"
            },
            {
              "sa": "गुणा",
              "en": "(भुजज्या से) गुणित"
            },
            {
              "sa": "भुजज्या",
              "en": "केन्द्र की भुज-ज्या"
            },
            {
              "sa": "त्रिज्या",
              "en": "radius of base circle (प्रायः ३४३८′)"
            },
            {
              "sa": "उद्धृता",
              "en": "विभाजित"
            },
            {
              "sa": "युग्मे वृत्ते",
              "en": "सम-परिधि पक्ष में"
            },
            {
              "sa": "धनर्णम्",
              "en": "धन या ऋण"
            },
            {
              "sa": "ओजात् ऊनाधिके",
              "en": "ओज से न्यून/अधिक होने पर"
            },
            {
              "sa": "स्फुटम्",
              "en": "स्फुट (corrected) परिधि"
            }
          ],
          "translation": "Multiply the odd–even epicycle difference by the bhuja-jyā and divide by the trijyā; applied with the proper sign to the even-circle base (according as the true circle is less or greater than the odd-end value), this yields the sphuṭa (corrected) epicycle.",
          "source": "editions/surya-siddhanta-full-edition.html#v2-38 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 2.38)"
        }
      ],
      "formula": {
        "title": "Variable Epicyclic Circumference & True Longitude (4-Samskara)",
        "latex": "p(\\theta) = p_{\\text{even}} + (p_{\\text{odd}} - p_{\\text{even}})|\\sin\\theta|, \\quad \\Delta\\theta_{\\text{manda}} = \\arcsin\\left(\\frac{p(\\theta) \\sin\\theta}{360^\\circ}\\right)",
        "notes": "Pulsating epicycle models orbital eccentricity variation seamlessly without numerical integration."
      },
      "codeSnippet": "import math\ndef manda_correction(kendra_deg, p_even, p_odd):\n    rad = math.radians(kendra_deg)\n    p = p_even + (p_odd - p_even) * abs(math.sin(rad))\n    sin_corr = (p * math.sin(rad)) / 360.0\n    return math.degrees(math.asin(sin_corr))",
      "codeOutput": "Input: Mangala manda kendra = 45.0°; epicycle circumference 72° (even) / 75° (odd)\npulsating epicycle p(45°) = 74.121320°\nmanda_correction(45.0, 72.0, 75.0) → +8.371332°\nComputed by executing this snippet (Python 3)."
    },
    {
      "num": 3,
      "nameSa": "त्रिप्रश्नाधिकारः",
      "nameEn": "Direction, Place & Time (Gnomon Geometry)",
      "shortTitle": "3. Tripurashnadhikara",
      "verseRange": "Verses 3.1 – 3.51 (51 श्लोक in the edition) · shown here: 3.1, 3.2",
      "readingTime": "15 min study",
      "overview": "Trigonometric resolution of the 3 fundamental astronomical questions (Dik/Direction, Desha/Longitude, and Kala/Time) using the 12-digit Shankuyantra (gnomon), solar declination (Kranti), and equinoctial shadow (Palabha).",
      "slokas": [
        {
          "deva": "शिलातले अम्बुसंशुद्धे वज्रलेपे अपि वा समे ।\nतत्र शङ्क्वङ्गुलैरिष्टैः समं मण्डलं आलिखेत् ।।",
          "meter": "सूर्य-सिद्धान्त 3.1",
          "translit": "śilātale ambusaṃśuddhe vajralepe api vā same ।\ntatra śaṅkvaṅgulairiṣṭaiḥ samaṃ maṇḍalaṃ ālikhet ।।",
          "anvaya": [
            {
              "sa": "शिलातल",
              "en": "पत्थर का समतल आधार"
            },
            {
              "sa": "अम्बुसंशुद्ध",
              "en": "जल से साफ़ किया हुआ"
            },
            {
              "sa": "वज्रलेप",
              "en": "कठोर/वज्र-सा लेप (चिकना प्लास्टर)"
            },
            {
              "sa": "सम",
              "en": "एकसमान, झुकाव-रहित"
            },
            {
              "sa": "शङ्क्वङ्गुल",
              "en": "शङ्कु की अङ्गुल-माप"
            },
            {
              "sa": "इष्ट",
              "en": "अभीष्ट/निर्धारित"
            },
            {
              "sa": "मण्डल",
              "en": "वृत्त"
            },
            {
              "sa": "आलिखेत्",
              "en": "खींचे"
            }
          ],
          "translation": "On a stone surface cleaned with water—or even one finished with a hard vajra-plaster coating—made perfectly level, draw a circle whose radius equals the chosen number of aṅgulas of the gnomon.",
          "source": "editions/surya-siddhanta-full-edition.html#v3-01 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 3.1)"
        },
        {
          "deva": "तन्मध्ये स्थापयेच्छङ्कुं कल्पनाद्वादशाङ्गुलम् ।\nतच्छायाग्रं स्पृशेद्यत्र वृत्ते पूर्वापरार्धयोः ।।",
          "meter": "सूर्य-सिद्धान्त 3.2",
          "translit": "tanmadhye sthāpayecchaṅkuṃ kalpanādvādaśāṅgulam ।\ntacchāyāgraṃ spṛśedyatra vṛtte pūrvāparārdhayoḥ ।।",
          "anvaya": [
            {
              "sa": "तन्मध्ये",
              "en": "उस वृत्त के केन्द्र में"
            },
            {
              "sa": "स्थापयेत्",
              "en": "स्थापित करे"
            },
            {
              "sa": "शङ्कु",
              "en": "ऊर्ध्व-दण्ड/gnomon"
            },
            {
              "sa": "कल्पना",
              "en": "माना हुआ/परिकल्पित"
            },
            {
              "sa": "द्वादशाङ्गुल",
              "en": "१२ अङ्गुल"
            },
            {
              "sa": "छायाग्र",
              "en": "छाया का अग्र-बिन्दु"
            },
            {
              "sa": "स्पृशेत्",
              "en": "स्पर्श करे"
            },
            {
              "sa": "वृत्त",
              "en": "वृत्त-परिधि"
            },
            {
              "sa": "पूर्वापरार्ध",
              "en": "पूर्व और पश्चिम के अर्धभाग"
            }
          ],
          "translation": "At the circle’s centre set a gnomon taken as twelve aṅgulas high. Note the points where the tip of its shadow meets the circumference in the eastern and western halves (of the day).",
          "source": "editions/surya-siddhanta-full-edition.html#v3-02 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 3.2)"
        }
      ],
      "formula": {
        "title": "Ascensional Difference & Gnomon Equation",
        "latex": "\\sin(\\Delta t_{\\text{char}}) = \\tan(\\phi) \\tan(\\delta), \\quad \\text{Palabhā} = 12 \\tan(\\phi)",
        "notes": "Determines local sunrise, daytime length (Dinamana), and the exact local sidereal ascendant (Lagna)."
      },
      "codeSnippet": "import math\ndef calculate_chara(lat_deg, dec_deg):\n    sin_chara = math.tan(math.radians(lat_deg)) * math.tan(math.radians(dec_deg))\n    sin_chara = max(-1.0, min(1.0, sin_chara))\n    return math.degrees(math.asin(sin_chara)) * 4.0 # in minutes of time",
      "codeOutput": "Input: latitude 23.1765° N (Ujjain), solar declination +17.5°\ncalculate_chara(23.1765, 17.5) → +31.0308 minutes of time\n(ascensional difference, chara)\nComputed by executing this snippet (Python 3)."
    },
    {
      "num": 4,
      "nameSa": "चन्द्रग्रहणाधिकारः",
      "nameEn": "Lunar Eclipse Calculus & Shadow Cone Geometry",
      "shortTitle": "4. Chandra Grahana",
      "verseRange": "Verses 4.1 – 4.26 (26 श्लोक in the edition) · shown here: 4.12",
      "readingTime": "12 min study",
      "overview": "Mathematical mechanics of lunar eclipses. Derives the apparent diameters of the Sun, Moon, and Earth's shadow cone (Bhamandala), contact times (Sparsha and Moksha), and totality duration (Sthityardha).",
      "slokas": [
        {
          "deva": "ग्राह्यग्राहकसंयोगवियोगौ दलितौ पृथक् ।\nविक्षेपवर्गहीनाभ्यां तद्वर्गाभ्यां उभे पदे ।।",
          "meter": "सूर्य-सिद्धान्त 4.12",
          "translit": "grāhyagrāhakasaṃyogaviyogau dalitau pṛthak ।\nvikṣepavargahīnābhyāṃ tadvargābhyāṃ ubhe pade ।।",
          "anvaya": [
            {
              "sa": "ग्राह्य-ग्राहक",
              "en": "आच्छाद्य और आच्छादक"
            },
            {
              "sa": "संयोग",
              "en": "योग"
            },
            {
              "sa": "वियोग",
              "en": "अन्तर"
            },
            {
              "sa": "दलितौ",
              "en": "आधे किए हुए"
            },
            {
              "sa": "पृथक्",
              "en": "अलग-अलग"
            },
            {
              "sa": "विक्षेप-वर्ग-हीनाभ्याम्",
              "en": "विक्षेप-वर्ग से रहित"
            },
            {
              "sa": "तद्-वर्गाभ्याम्",
              "en": "उन (दलित योग/वियोग) के वर्गों से"
            },
            {
              "sa": "उभे पदे",
              "en": "दोनों पद (मूल/√)"
            }
          ],
          "translation": "Halve, separately, the sum and the difference of the eclipsed and eclipsing diameters. From those two squares, each diminished by the square of the latitude, extract both roots — the two “padas.”",
          "source": "editions/surya-siddhanta-full-edition.html#v4-12 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 4.12)"
        }
      ],
      "formula": {
        "title": "Earth Shadow Diameter & Half-Duration",
        "latex": "D_{\\text{shadow}} = \\left( D_\\odot - \\frac{D_\\odot - D_\\oplus}{D_{\\text{dist}}} \\right) \\times \\frac{R_\\text{moon}}{R_\\odot}, \\quad t_{\\text{half}} = \\sqrt{\\left(\\frac{D_m + D_s}{2}\\right)^2 - \\beta^2}",
        "notes": "The half-duration rule of SS 4.12–4.13 (roots of the half-sum and half-difference, latitude removed)."
      },
      "codeSnippet": "import math\ndef lunar_eclipse_half_duration(dia_moon, dia_shadow, lat_moon):\n    sum_radii = (dia_moon + dia_shadow) / 2.0\n    if lat_moon >= sum_radii: return 0.0 # No eclipse\n    return math.sqrt(sum_radii**2 - lat_moon**2)",
      "codeOutput": "Input: Moon diameter 31.5′, shadow diameter 82.4′, Moon latitude 12.2′\nlunar_eclipse_half_duration(31.5, 82.4, 12.2) → 55.6279 arcminutes\n(half-duration arc along the Moon's path)\nComputed by executing this snippet (Python 3)."
    },
    {
      "num": 5,
      "nameSa": "सूर्यग्रहणाधिकारः",
      "nameEn": "Solar Eclipse & Topocentric Parallax (Lambana)",
      "shortTitle": "5. Surya Grahana",
      "verseRange": "Verses 5.1 – 5.17 (17 श्लोक in the edition) · shown here: 5.8",
      "readingTime": "15 min study",
      "overview": "Topocentric parallax calculus in longitude (Lambana) and latitude (Nati). Explains why solar eclipses are strictly localized phenomena differing fundamentally from lunar eclipses.",
      "slokas": [
        {
          "deva": "मध्यलग्नार्कविश्लेषज्या छेदेन विभाजिता ।\nरवीन्द्वोर्लम्बनं ज्ञेयं प्राक्पश्चाद्घटिकादिकम् ।।",
          "meter": "सूर्य-सिद्धान्त 5.8",
          "translit": "madhyalagnārkaviśleṣajyā chedena vibhājitā ।\nravīndvorlambanaṃ jñeyaṃ prākpaścādghaṭikādikam ।।",
          "anvaya": [
            {
              "sa": "मध्यलग्न-अर्क-विश्लेष-ज्या",
              "en": "मध्यलग्न और सूर्य के अन्तर की ज्या"
            },
            {
              "sa": "छेदेन विभाजिता",
              "en": "छेद से भाजित"
            },
            {
              "sa": "रवि-इन्द्वोः",
              "en": "सूर्य और चन्द्र का"
            },
            {
              "sa": "लम्बनं",
              "en": "लम्बन (देशान्तरीय/दृष्टि-लंब-सा दृष्टिदोष)"
            },
            {
              "sa": "ज्ञेयं",
              "en": "जानना चाहिए"
            },
            {
              "sa": "प्राक्-पश्चात्",
              "en": "पूर्व या पश्चिम"
            },
            {
              "sa": "घटिका-आदिकम्",
              "en": "घटी आदि (काल-माप) में"
            }
          ],
          "translation": "The sine of the difference between the madhyalagna (meridian ecliptic point) and the Sun, divided by the cheda, is the lambana of the Sun and the Moon. Take it as eastward or westward, and express it in ghaṭikā and the finer time units.",
          "source": "editions/surya-siddhanta-full-edition.html#v5-08 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 5.8)"
        }
      ],
      "formula": {
        "title": "Topocentric Parallax in Longitude & Latitude",
        "latex": "D=\\sqrt{M^2-(MU/R)^2},\\quad G=\\sqrt{R^2-D^2},\\quad L=\\operatorname{jyā}(\\lambda_{madhya}-\\lambda_\\odot)/C;\\quad N\\approx D/70\\approx49D/R",
        "notes": "Source-bounded summary of 5.3–5.12. The former 4×sin/48×sin shortcut and 5.1–5.40 metadata were generated errors and are retired."
      },
      "codeSnippet": "raise NotImplementedError('Mirror shortcut retired: use canonical mangalkaalyantra /v1/grahana?lat=…&lon=…')",
      "codeOutput": "No fabricated numerical output. Canonical endpoint emits observer, Lambana, Nati, disc geometry, provenance and deterministic contact roots."
    },
    {
      "num": 6,
      "nameSa": "छेद्यकाधिकारः",
      "nameEn": "Graphical Eclipse Projections & Vector Diagrams",
      "shortTitle": "6. Chhedyaka",
      "verseRange": "Verses 6.1 – 6.24 (24 श्लोक in the edition) · shown here: 6.11",
      "readingTime": "10 min study",
      "overview": "Orthographic and stereographic geometric projection methods for drawing eclipse phase diagrams on flat wooden boards and parchment.",
      "slokas": [
        {
          "deva": "विक्षेपाग्राल्लिखेद्वृत्तं ग्राहकार्धेन तेन यत् ।\nग्राह्यवृत्तं समाक्रान्तं तद्ग्रस्तं तमसा भवेत् ।।",
          "meter": "सूर्य-सिद्धान्त 6.11",
          "translit": "vikṣepāgrāllikhedvṛttaṃ grāhakārdhena tena yat ।\ngrāhyavṛttaṃ samākrāntaṃ tadgrastaṃ tamasā bhavet ।।",
          "anvaya": [
            {
              "sa": "विक्षेप-अग्रात्",
              "en": "विक्षेप के अग्र-बिन्दु से"
            },
            {
              "sa": "लिखेत् वृत्तं",
              "en": "वृत्त लिखे"
            },
            {
              "sa": "ग्राहक-अर्धेन",
              "en": "ग्राहक (ग्रहण-कर्ता) के अर्ध-व्यास से"
            },
            {
              "sa": "तेन यत्",
              "en": "उससे जो"
            },
            {
              "sa": "ग्राह्य-वृत्तं",
              "en": "ग्राह्य (ग्रहण-पात्र) का वृत्त"
            },
            {
              "sa": "समाक्रान्तं",
              "en": "आक्रान्त/ढका हुआ"
            },
            {
              "sa": "तत् ग्रस्तं",
              "en": "वही ग्रस्त"
            },
            {
              "sa": "तमसा",
              "en": "तम/अन्धकार से"
            },
            {
              "sa": "भवेत्",
              "en": "होता है"
            }
          ],
          "translation": "From the tip of the vikṣepa draw a circle with radius equal to half the eclipsing body’s diameter. Whatever of the eclipsed body’s circle that circle covers is what is seized by darkness — the geometric definition of the eclipsed portion on the board.",
          "source": "editions/surya-siddhanta-full-edition.html#v6-11 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 6.11)"
        }
      ],
      "formula": {
        "title": "Geometric Obscuration Segment",
        "latex": "\\text{Grasa} = \\frac{(D_1 + D_2)/2 - \\sqrt{\\Delta\\lambda^2 + \\Delta\\beta^2}}{D_1}",
        "notes": "Determines the magnitude of eclipse and visual crescent curvature."
      },
      "codeSnippet": "def eclipse_magnitude(d_sun, d_moon, sep_arcmin):\n    overlap = (d_sun + d_moon)/2.0 - sep_arcmin\n    return max(0.0, overlap / d_sun)",
      "codeOutput": "Input: Sun diameter 32.0′, Moon diameter 31.4′, centre separation 10.2′\neclipse_magnitude(32.0, 31.4, 10.2) → 0.671875 (67.19% of the solar diameter covered)\nComputed by executing this snippet (Python 3)."
    },
    {
      "num": 7,
      "nameSa": "ग्रहयुत्यधिकारः",
      "nameEn": "Planetary Conjunctions & Orbital Crossings",
      "shortTitle": "7. Grahayuti",
      "verseRange": "Verses 7.1 – 7.24 (24 श्लोक in the edition) · shown here: 7.18, 7.19",
      "readingTime": "11 min study",
      "overview": "Calculates geocentric planetary conjunctions (Bhedha, Ullekha, Anshuvimarda, Apasavya), occultations, and mutual distance vectors.",
      "slokas": [
        {
          "deva": "स्वशङ्कुमूर्धगौ व्योम्नि ग्रहौ दृक्तुल्यतां इतौ ।\nउल्लेखं तारकास्पर्शाद्भेदे भेदः प्रकीर्त्यते ।।",
          "meter": "सूर्य-सिद्धान्त 7.18",
          "translit": "svaśaṅkumūrdhagau vyomni grahau dṛktulyatāṃ itau ।\nullekhaṃ tārakāsparśādbhede bhedaḥ prakīrtyate ।।",
          "anvaya": [
            {
              "sa": "स्वशङ्कुमूर्धगौ",
              "en": "अपने-अपने शङ्कु-शिखर पर"
            },
            {
              "sa": "व्योम्नि",
              "en": "आकाश में"
            },
            {
              "sa": "ग्रहौ",
              "en": "दोनों ग्रह"
            },
            {
              "sa": "दृक्तुल्यताम् इतौ",
              "en": "दृष्टि-समता को प्राप्त"
            },
            {
              "sa": "उल्लेखम्",
              "en": "उल्लेख (स्पर्श/रेखा-स्पर्श)"
            },
            {
              "sa": "तारकास्पर्शात्",
              "en": "तारा-स्पर्श से"
            },
            {
              "sa": "भेदे",
              "en": "भेद/पृथकता में"
            },
            {
              "sa": "भेदः",
              "en": "भेद (पृथक्-दर्शन)"
            },
            {
              "sa": "प्रकीर्त्यते",
              "en": "कहा जाता है"
            }
          ],
          "translation": "The two planets, having attained equality of vision in the sky, are shown at the tops of their respective gnomons. Contact with a star is called ullekha; when they are distinct from each other, the state is named bheda.",
          "source": "editions/surya-siddhanta-full-edition.html#v7-18 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 7.18)"
        },
        {
          "deva": "युद्धं अंशुविमर्दाख्यं अंशुयोगे परस्परम् ।\nअंशादूने अपसव्याख्यं युद्धं एको अत्र चेदणुः ।।",
          "meter": "सूर्य-सिद्धान्त 7.19",
          "translit": "yuddhaṃ aṃśuvimardākhyaṃ aṃśuyoge parasparam ।\naṃśādūne apasavyākhyaṃ yuddhaṃ eko atra cedaṇuḥ ।।",
          "anvaya": [
            {
              "sa": "युद्धम्",
              "en": "ग्रह-युद्ध"
            },
            {
              "sa": "अंशुविमर्दाख्यम्",
              "en": "अंशु-विमर्द नामक"
            },
            {
              "sa": "अंशुयोगे परस्परम्",
              "en": "परस्पर किरणों/अंशों के योग में"
            },
            {
              "sa": "अंशाद् ऊने",
              "en": "एक अंश से कम (विच्छेद) पर"
            },
            {
              "sa": "अपसव्याख्यम्",
              "en": "अपसव्य नामक"
            },
            {
              "sa": "युद्धम्",
              "en": "युद्ध"
            },
            {
              "sa": "एकः अत्र चेत् अणुः",
              "en": "यदि इनमें एक सूक्ष्म/अणु हो"
            }
          ],
          "translation": "Mutual pressing of the rays is the combat named aṃśu-vimarda. When the separation is less than one degree, the combat is called apasavya; and if one of the two is minute (aṇu), that condition belongs here as well.",
          "source": "editions/surya-siddhanta-full-edition.html#v7-19 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 7.19)"
        }
      ],
      "formula": {
        "title": "Mutual Angular Distance & Relative Velocity",
        "latex": "\\Delta\\theta = \\sqrt{(\\lambda_1 - \\lambda_2)^2 \\cos^2\\beta + (\\beta_1 - \\beta_2)^2}, \\quad t_{\\text{conj}} = \\frac{\\Delta\\lambda}{\\dot{\\lambda}_1 - \\dot{\\lambda}_2}",
        "notes": "Determines exact collision and conjunction epochs."
      },
      "codeSnippet": "def planetary_conjunction_time(l1, l2, v1, v2):\n    return (l2 - l1) / (v1 - v2) # in days",
      "codeOutput": "Input: Jupiter λ = 102.14° moving 0.083°/day; Saturn λ = 105.78° moving 0.033°/day\nplanetary_conjunction_time(102.14, 105.78, 0.083, 0.033) → 72.8 days\nComputed by executing this snippet (Python 3)."
    },
    {
      "num": 8,
      "nameSa": "भग्रहयुत्यधिकारः",
      "nameEn": "Junction Stars (Yogatara) & Asterism Conjunctions",
      "shortTitle": "8. Bhagrahayuti",
      "verseRange": "Verses 8.1 – 8.21 (21 श्लोक in the edition) · shown here: 8.13",
      "readingTime": "12 min study",
      "overview": "Catalogues the canonical polar longitudes (Dhruvaka) and polar latitudes (Vikshepa) of the 27 junction stars (Yogataras) defining the sidereal ecliptic lattice.",
      "slokas": [
        {
          "deva": "वृषे सप्तदशे भागे यस्य याम्यो अंशकद्वयात् ।\nविक्षेपो अभ्यधिको भिन्द्याद्रोहिण्याः शकतं तु सः ।।",
          "meter": "सूर्य-सिद्धान्त 8.13",
          "translit": "vṛṣe saptadaśe bhāge yasya yāmyo aṃśakadvayāt ।\nvikṣepo abhyadhiko bhindyādrohiṇyāḥ śakataṃ tu saḥ ।।",
          "anvaya": [
            {
              "sa": "वृषे सप्तदशे भागे",
              "en": "वृष के सत्रहवें अंश में"
            },
            {
              "sa": "यस्य",
              "en": "जिसका"
            },
            {
              "sa": "याम्यः",
              "en": "दक्षिणी"
            },
            {
              "sa": "अंशकद्वयात्",
              "en": "दो अंश से"
            },
            {
              "sa": "विक्षेपः अभ्यधिकः",
              "en": "विक्षेप अधिक"
            },
            {
              "sa": "भिन्द्यात्",
              "en": "भेद/विदीर्ण करे"
            },
            {
              "sa": "रोहिण्याः शकटम्",
              "en": "रोहिणी का शकट (गाड़ी)"
            },
            {
              "sa": "सः",
              "en": "वही (ग्रह/स्थिति)"
            }
          ],
          "translation": "That body which stands in the seventeenth degree of Taurus, with southern latitude greater than two degrees, is said to split Rohiṇī’s cart. The verse states a geometric gate: longitude window plus a latitude threshold.",
          "source": "editions/surya-siddhanta-full-edition.html#v8-13 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 8.13)"
        }
      ],
      "formula": {
        "title": "Polar to Ecliptic Transformation",
        "latex": "\\sin\\delta = \\sin\\beta \\cos\\epsilon + \\cos\\beta \\sin\\epsilon \\sin\\lambda, \\quad \\alpha = \\arctan\\left(\\frac{\\sin\\lambda \\cos\\epsilon - \\tan\\beta \\sin\\epsilon}{\\cos\\lambda}\\right)",
        "notes": "Preserves sidereal anchor coordinates against axial precession."
      },
      "codeSnippet": "YOGATARAS = {'Ashwini': (11.6, 10.0), 'Rohini': (49.5, -4.5), 'Chitra': (180.0, -1.8)}\ndef is_yogatara_occulted(moon_lon, moon_lat, star_lon, star_lat):\n    dist = ((moon_lon - star_lon)**2 + (moon_lat - star_lat)**2)**0.5\n    return dist < 0.5",
      "codeOutput": "Input: Moon (49.3°, −4.3°); Rohini yogatārā Aldebaran (49.5°, −4.5°)\nangular distance = 0.2828° (occultation threshold in snippet: 0.5°)\nis_yogatara_occulted(49.3, -4.3, 49.5, -4.5) → True\nComputed by executing this snippet (Python 3)."
    },
    {
      "num": 9,
      "nameSa": "उदयास्ताधिकारः",
      "nameEn": "Heliacal Risings & Settings (Kala-Bhaga)",
      "shortTitle": "9. Udayasta",
      "verseRange": "Verses 9.1 – 9.18 (18 श्लोक in the edition) · shown here: 9.6, 9.7, 9.8",
      "readingTime": "11 min study",
      "overview": "Determines the exact visibility threshold angles (Kalabhaga) for planets appearing from or disappearing into the Sun's blinding disk.",
      "slokas": [
        {
          "deva": "एकादशामरेज्यस्य तिथिसङ्ख्यार्कजस्य च ।\nअस्तांशा भूमिपुत्रस्य दश सप्ताधिकास्ततः ।।",
          "meter": "सूर्य-सिद्धान्त 9.6",
          "translit": "ekādaśāmarejyasya tithisaṅkhyārkajasya ca ।\nastāṃśā bhūmiputrasya daśa saptādhikāstataḥ ।।",
          "anvaya": [
            {
              "sa": "एकादश",
              "en": "ग्यारह (अंश)"
            },
            {
              "sa": "अमर-इज्यस्य",
              "en": "अमर-इज्य = बृहस्पति के"
            },
            {
              "sa": "तिथि-सङ्ख्या",
              "en": "तिथि-संख्या = पंद्रह"
            },
            {
              "sa": "आर्कजस्य",
              "en": "अर्कज = शनि के"
            },
            {
              "sa": "च",
              "en": "और"
            },
            {
              "sa": "अस्तांशाः",
              "en": "अस्त-अंश (दृश्यता/अस्त की सीमा-डिग्री)"
            },
            {
              "sa": "भूमि-पुत्रस्य",
              "en": "भूमि-पुत्र = मंगल के"
            },
            {
              "sa": "दश सप्त-अधिकाः",
              "en": "दस से सात अधिक = सत्रह"
            },
            {
              "sa": "ततः",
              "en": "उससे/तदनन्तर"
            }
          ],
          "translation": "The heliacal limit-degrees (astāṃśa) are: Jupiter 11°, Saturn 15° (tithi-count), Mars 17° (ten plus seven). These are fixed visibility thresholds for the three outer planets, not rates or periods.",
          "source": "editions/surya-siddhanta-full-edition.html#v9-06 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 9.6)"
        },
        {
          "deva": "पश्चादस्तमयो अष्टाभिरुदयः प्राङ्महत्तया ।\nप्रागस्तं उदयः पश्चादल्पत्वाद्दशभिर्भृगोः ।।",
          "meter": "सूर्य-सिद्धान्त 9.7",
          "translit": "paścādastamayo aṣṭābhirudayaḥ prāṅmahattayā ।\nprāgastaṃ udayaḥ paścādalpatvāddaśabhirbhṛgoḥ ।।",
          "anvaya": [
            {
              "sa": "पश्चात् अस्तमयः",
              "en": "पश्चिम-अस्त"
            },
            {
              "sa": "अष्टाभिः",
              "en": "आठ (अंशों) से"
            },
            {
              "sa": "उदयः प्राक्",
              "en": "पूर्व-उदय"
            },
            {
              "sa": "महत्तया",
              "en": "महत्ता/बृहत्-प्रकाश के कारण"
            },
            {
              "sa": "प्राक् अस्तम्",
              "en": "पूर्व-अस्त"
            },
            {
              "sa": "उदयः पश्चात्",
              "en": "पश्चिम-उदय"
            },
            {
              "sa": "अल्पत्वात्",
              "en": "अल्पता (क्षुद्र-प्रकाश) के कारण"
            },
            {
              "sa": "दशभिः",
              "en": "दस से"
            },
            {
              "sa": "भृगोः",
              "en": "भृगु = शुक्र का"
            }
          ],
          "translation": "For Venus: western setting and eastern rising by 8° when “great” (brighter phase); eastern setting and western rising by 10° when “small” (fainter phase). Two thresholds track phase-dependent brilliance.",
          "source": "editions/surya-siddhanta-full-edition.html#v9-07 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 9.7)"
        },
        {
          "deva": "एवं बुधो द्वादशभिश्चतुर्दशभिरंशकैः ।\nवक्री शीघ्रगतिश्चार्कात्करोत्यस्तमयोदयौ ।।",
          "meter": "सूर्य-सिद्धान्त 9.8",
          "translit": "evaṃ budho dvādaśabhiścaturdaśabhiraṃśakaiḥ ।\nvakrī śīghragatiścārkātkarotyastamayodayau ।।",
          "anvaya": [
            {
              "sa": "एवम्",
              "en": "इसी प्रकार"
            },
            {
              "sa": "बुधः",
              "en": "बुध"
            },
            {
              "sa": "द्वादशभिः",
              "en": "बारह से"
            },
            {
              "sa": "चतुर्दशभिः",
              "en": "चौदह से"
            },
            {
              "sa": "अंशकैः",
              "en": "अंशों द्वारा"
            },
            {
              "sa": "वक्री",
              "en": "वक्र-गति में"
            },
            {
              "sa": "शीघ्र-गतिः च",
              "en": "और शीघ्र-गति में"
            },
            {
              "sa": "आर्कात्",
              "en": "सूर्य से (सापेक्ष)"
            },
            {
              "sa": "करोति",
              "en": "करता है"
            },
            {
              "sa": "अस्तमय-उदयौ",
              "en": "अस्त और उदय"
            }
          ],
          "translation": "So Mercury effects setting and rising relative to the Sun by 12° when retrograde and by 14° when in swift (śīghra) motion. The pair of limits closes the fixed-threshold list begun for the outer planets and Venus.",
          "source": "editions/surya-siddhanta-full-edition.html#v9-08 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 9.8)"
        }
      ],
      "formula": {
        "title": "Arc of Combustion (Asta) & Heliacal Rising",
        "latex": "|\\lambda_{\\text{graha}} - \\lambda_\\odot| \\ge \\Theta_{\\text{kala}}, \\quad \\text{Condition for Heliacal Visibility}",
        "notes": "Fundamental for Vedic muhurta and civic almanac visibility flags."
      },
      "codeSnippet": "KALABHAGA = {'Jupiter': 11.0, 'Venus': 8.0, 'Mars': 17.0, 'Saturn': 15.0}\ndef is_combust(planet_lon, sun_lon, planet_name):\n    diff = abs(planet_lon - sun_lon) % 360.0\n    if diff > 180.0: diff = 360.0 - diff\n    return diff < KALABHAGA.get(planet_name, 14.0)",
      "codeOutput": "Input: Sun λ = 112.4°, Jupiter λ = 118.2° (Jupiter kālabhāga limit: 11°)\nseparation = 5.8°\nis_combust(118.2, 112.4, 'Jupiter') → True\nComputed by executing this snippet (Python 3)."
    },
    {
      "num": 10,
      "nameSa": "शृङ्गोन्नत्यधिकारः",
      "nameEn": "Lunar Horn Elevation & Crescent Phase Geometry",
      "shortTitle": "10. Shringonnati",
      "verseRange": "Verses 10.1 – 10.15 (15 श्लोक in the edition) · shown here: 10.9",
      "readingTime": "9 min study",
      "overview": "Trigonometric derivation of the illuminated lunar phase angle, crescent width (Shukla-Paksha phase), and the tilt/elevation of the northern and southern horns of the Moon.",
      "slokas": [
        {
          "deva": "सूर्योनशीतगोर्लिप्ताः शुक्लं नवशतोद्धृताः ।\nचन्द्रबिम्बाङ्गुलाभ्यस्तं हृतं द्वादशभिः स्फुटम् ।।",
          "meter": "सूर्य-सिद्धान्त 10.9",
          "translit": "sūryonaśītagorliptāḥ śuklaṃ navaśatoddhṛtāḥ ।\ncandrabimbāṅgulābhyastaṃ hṛtaṃ dvādaśabhiḥ sphuṭam ।।",
          "anvaya": [
            {
              "sa": "सूर्योन",
              "en": "सूर्य से रहित / सूर्य-घटित (चन्द्र − सूर्य)"
            },
            {
              "sa": "शीतगोः",
              "en": "चन्द्रमा की"
            },
            {
              "sa": "लिप्ताः",
              "en": "कलाएँ (arcminutes)"
            },
            {
              "sa": "शुक्लं",
              "en": "शुक्ल-भाग (प्रकाशित अंश)"
            },
            {
              "sa": "नवशत",
              "en": "९००"
            },
            {
              "sa": "उद्धृताः",
              "en": "विभाजित"
            },
            {
              "sa": "चन्द्रबिम्ब-अङ्गुला",
              "en": "चन्द्र-बिम्ब की अङ्गुल-माप"
            },
            {
              "sa": "अभ्यस्तं",
              "en": "गुणा"
            },
            {
              "sa": "द्वादशभिः",
              "en": "१२ से"
            },
            {
              "sa": "स्फुटम्",
              "en": "शुद्ध / तात्कालिक प्रकाशित मान"
            }
          ],
          "translation": "Take the minutes of arc of the Moon diminished by the Sun (the elongation). Divided by nine hundred they yield the “white” measure—the illuminated portion in a twelve-part scale. That quantity, multiplied by the Moon’s disk in aṅgulas and divided by twelve, is the true illuminated measure for the moment.",
          "source": "editions/surya-siddhanta-full-edition.html#v10-09 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 10.9)"
        }
      ],
      "formula": {
        "title": "Crescent Phase Width & Horn Angle",
        "latex": "W_{\\text{crescent}} = \\frac{D_{\\text{moon}}}{2} (1 - \\cos(\\lambda_m - \\lambda_s)), \\quad \\tan\\theta_{\\text{tilt}} = \\frac{\\Delta\\delta}{\\Delta\\alpha \\cos\\delta_m}",
        "notes": "Provides the visual phase appearance of the new Moon."
      },
      "codeSnippet": "import math\ndef crescent_width(elongation_deg, moon_diam=31.5):\n    return (moon_diam / 2.0) * (1.0 - math.cos(math.radians(elongation_deg)))",
      "codeOutput": "Input: elongation 36.0° (≈ tithi 3), Moon diameter 31.5′\ncrescent_width(36.0) → 3.0080 arcminutes\nComputed by executing this snippet (Python 3)."
    },
    {
      "num": 11,
      "nameSa": "पाताधिकारः",
      "nameEn": "Planetary Orbital Nodes & Vyatipata Phenomena",
      "shortTitle": "11. Pata",
      "verseRange": "Verses 11.1 – 11.23 (23 श्लोक in the edition) · shown here: 11.1, 11.2",
      "readingTime": "11 min study",
      "overview": "Mathematical analysis of celestial declination equality (Vaidhruta and Vyatipata), when the Sun and Moon share identical declinations on opposite sides of the celestial equator.",
      "slokas": [
        {
          "deva": "एकायनगतौ स्यातां सूर्यचन्द्रमसौ यदा ।\nतद्युतौ मण्डले क्रान्त्योस्तुल्यत्वे वैधृताभिधः ।।",
          "meter": "सूर्य-सिद्धान्त 11.1",
          "translit": "ekāyanagatau syātāṃ sūryacandramasau yadā ।\ntadyutau maṇḍale krāntyostulyatve vaidhṛtābhidhaḥ ।।",
          "anvaya": [
            {
              "sa": "एकायन-गतौ",
              "en": "एक ही अयन में स्थित"
            },
            {
              "sa": "सूर्य-चन्द्रमसौ",
              "en": "सूर्य और चन्द्रमा"
            },
            {
              "sa": "तद्-युतौ",
              "en": "उनकी युति/संयोग-अवस्था में"
            },
            {
              "sa": "मण्डले",
              "en": "राशि-मण्डल (भचक्र) में"
            },
            {
              "sa": "क्रान्त्योः तुल्यत्वे",
              "en": "दोनों की क्रान्तियों (विषुवत्-अयन-झुकाव) के समान होने पर"
            },
            {
              "sa": "वैधृत-अभिधः",
              "en": "वैधृत नामक योग कहलाता है"
            }
          ],
          "translation": "When the Sun and Moon lie in the same ayan, and in the circle their conjunction is such that their declinations become equal, that condition is named Vaidhṛta. The verse fixes two co-requisites: shared ayan and equal krānti.",
          "source": "editions/surya-siddhanta-full-edition.html#v11-01 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 11.1)"
        },
        {
          "deva": "विपरीतायनगतौ चन्द्रार्कौ क्रान्तिलिप्तिका ।\nसमास्तदा व्यतीपातो भगणार्धे तयोर्युतौ ।।",
          "meter": "सूर्य-सिद्धान्त 11.2",
          "translit": "viparītāyanagatau candrārkau krāntiliptikā ।\nsamāstadā vyatīpāto bhagaṇārdhe tayoryutau ।।",
          "anvaya": [
            {
              "sa": "विपरीत-अयन-गतौ",
              "en": "विपरीत अयनों में स्थित"
            },
            {
              "sa": "चन्द्र-अर्कौ",
              "en": "चन्द्रमा और सूर्य"
            },
            {
              "sa": "क्रान्ति-लिप्तिकाः समाः",
              "en": "क्रान्ति की कलाएँ समान"
            },
            {
              "sa": "तदा",
              "en": "तब"
            },
            {
              "sa": "व्यतीपातः",
              "en": "व्यतीपात"
            },
            {
              "sa": "भगण-अर्धे",
              "en": "भगण के आधे पर (180°)"
            },
            {
              "sa": "तयोः युतौ",
              "en": "दोनों की युति/योग-अवस्था में"
            }
          ],
          "translation": "When Moon and Sun are in opposite ayans, their declination-minutes are equal, and their conjunction (sum-yuti) stands at half a revolution, that is Vyatīpāta. The half-bhagaṇa fixes the 180° sum against Vaidhṛta’s full-circle meeting.",
          "source": "editions/surya-siddhanta-full-edition.html#v11-02 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 11.2)"
        }
      ],
      "formula": {
        "title": "Declination Equivalence Equation",
        "latex": "\\delta_\\odot(\\lambda_\\odot) = \\pm \\delta_m(\\lambda_m, \\beta_m), \\quad \\text{Condition for Mahāpāta}",
        "notes": "Critical for high-precision institutional astrological and almanac calculations."
      },
      "codeSnippet": "def check_vyatipata(sun_dec, moon_dec, tolerance=0.1):\n    return abs(abs(sun_dec) - abs(moon_dec)) < tolerance",
      "codeOutput": "Input: Sun declination +18.42°, Moon declination −18.39° (tolerance 0.1°)\ndeclination-magnitude difference = 0.0300°\ncheck_vyatipata(18.42, -18.39) → True\nComputed by executing this snippet (Python 3)."
    },
    {
      "num": 12,
      "nameSa": "भूगोलाध्यायः",
      "nameEn": "Cosmography, Terrestrial Sphere & Prime Meridian",
      "shortTitle": "12. Bhugola",
      "verseRange": "Verses 12.1 – 12.90 (90 श्लोक in the edition) · shown here: 12.32",
      "readingTime": "18 min study",
      "overview": "Comprehensive geography and cosmography. Establishes the spherical Earth (Bhugola), prime meridian through Ujjayini (75.7885° E), Lanka equatorial zero-point, Meru polar axis, and antipodal coordinates.",
      "slokas": [
        {
          "deva": "मध्ये समन्तादण्डस्य भूगोलो व्योम्नि तिष्ठति ।\nबिभ्रानः परमां शक्तिं ब्रह्मणो धारणात्मकाम् ।।",
          "meter": "सूर्य-सिद्धान्त 12.32",
          "translit": "madhye samantādaṇḍasya bhūgolo vyomni tiṣṭhati ।\nbibhrānaḥ paramāṃ śaktiṃ brahmaṇo dhāraṇātmakām ।।",
          "anvaya": [
            {
              "sa": "मध्ये",
              "en": "मध्य में"
            },
            {
              "sa": "समन्तात्",
              "en": "चारों ओर से"
            },
            {
              "sa": "अण्डस्य",
              "en": "अंड/ब्रह्माण्ड का"
            },
            {
              "sa": "भू-गोलः",
              "en": "पृथ्वी-गोलक"
            },
            {
              "sa": "व्योम्नि",
              "en": "आकाश में"
            },
            {
              "sa": "तिष्ठति",
              "en": "स्थित है"
            },
            {
              "sa": "बिभ्राणः",
              "en": "धारण किये हुए"
            },
            {
              "sa": "परमाम् शक्तिम्",
              "en": "परम शक्ति"
            },
            {
              "sa": "ब्रह्मणः",
              "en": "ब्रह्म की"
            },
            {
              "sa": "धारणा-आत्मकाम्",
              "en": "धारण/स्थापन-स्वरूप"
            }
          ],
          "translation": "At the centre of the cosmic egg, on every side, the earth-globe stands in the sky, bearing Brahman’s supreme power whose very nature is to uphold and sustain.",
          "source": "editions/surya-siddhanta-full-edition.html#v12-32 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 12.32)"
        }
      ],
      "formula": {
        "title": "Deshantara Longitudinal Time Difference",
        "latex": "\\Delta t = \\frac{\\lambda_{\\text{local}} - 75.7885^\\circ}{360^\\circ} \\times 24 \\text{ hrs}, \\quad C_{\\text{earth}} = 4,967 \\text{ Yojanas}",
        "notes": "SS 1.62 names the prime meridian through Laṅkā, Rohītaka and Avantī (Ujjayinī)."
      },
      "codeSnippet": "def deshantara_time_correction(lon_deg, ujjain_lon=75.7885):\n    return (lon_deg - ujjain_lon) * 4.0 # in minutes of time",
      "codeOutput": "Input: Kāśī longitude 83.0107° E (baseline: Ujjain 75.7885° E)\ndeshantara_time_correction(83.0107) → +28.8888 minutes of time\nComputed by executing this snippet (Python 3)."
    },
    {
      "num": 13,
      "nameSa": "ज्योतिषोपनिषदध्यायः",
      "nameEn": "Armillary Sphere & Observational Instruments",
      "shortTitle": "13. Jyotishopanishad",
      "verseRange": "Verses 13.1 – 13.25 (25 श्लोक in the edition) · shown here: 13.3, 13.23",
      "readingTime": "12 min study",
      "overview": "Mechanical engineering blueprints for constructing the Golayantra (armillary sphere), Kapalayantra (clepsydra/water clock), and self-rotating astronomical automatons.",
      "slokas": [
        {
          "deva": "भूभगोलस्य रचनां कुर्यादाश्चर्यकारिणीम् ।\nअभीष्टं पृथिवीगोलं कारयित्वा तु दारवम् ॥",
          "meter": "सूर्य-सिद्धान्त 13.3",
          "translit": "bhūbhagolasya racanāṃ kuryādāścaryakāriṇīm ।\nabhīṣṭaṃ pṛthivīgolaṃ kārayitvā tu dāravam ।।",
          "anvaya": [
            {
              "sa": "भू-भ-गोलस्य",
              "en": "पृथ्वी और खगोल (भूगोल+भगोल) की"
            },
            {
              "sa": "रचनां",
              "en": "रचना/प्रतिमा"
            },
            {
              "sa": "कुर्यात्",
              "en": "बनाए"
            },
            {
              "sa": "आश्चर्य-कारिणीम्",
              "en": "आश्चर्य उत्पन्न करने वाली"
            },
            {
              "sa": "अभीष्टं",
              "en": "इच्छित माप का"
            },
            {
              "sa": "पृथिवी-गोलं",
              "en": "पृथ्वी-गोलक"
            },
            {
              "sa": "कारयित्वा",
              "en": "बनवा कर"
            },
            {
              "sa": "तु दारवम्",
              "en": "काष्ठ-निर्मित"
            }
          ],
          "translation": "One should construct a wonder-working model of the earth-and-sky sphere. First fashion a wooden terrestrial globe of the desired size; on that solid body the whole armillary apparatus will rest.",
          "source": "editions/surya-siddhanta-full-edition.html#v13-03 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 13.3)"
        },
        {
          "deva": "ताम्रपात्रं अधश्छिद्रं न्यस्तं कुण्डे अमलाम्भसि ।\nषष्टिर्मज्जत्यहोरात्रे स्फुटं यन्त्रं कपालकम् ॥",
          "meter": "सूर्य-सिद्धान्त 13.23",
          "translit": "tāmrapātraṃ adhaśchidraṃ nyastaṃ kuṇḍe amalāmbhasi ।\nṣaṣṭirmajjatyahorātre sphuṭaṃ yantraṃ kapālakam ।।",
          "anvaya": [
            {
              "sa": "ताम्र-पात्रम्",
              "en": "ताँबे का पात्र"
            },
            {
              "sa": "अधः-छिद्रम्",
              "en": "नीचे छिद्र वाला"
            },
            {
              "sa": "न्यस्तम्",
              "en": "रखा हुआ"
            },
            {
              "sa": "कुण्डे",
              "en": "कुंड/हौद में"
            },
            {
              "sa": "अमल-अम्भसि",
              "en": "निर्मल जल में"
            },
            {
              "sa": "षष्टिः",
              "en": "साठ"
            },
            {
              "sa": "मज्जति",
              "en": "डूबता है"
            },
            {
              "sa": "अहोरात्रे",
              "en": "एक अहोरात्र (दिन+रात) में"
            },
            {
              "sa": "स्फुटम्",
              "en": "स्पष्ट/यथार्थ"
            },
            {
              "sa": "यन्त्रम् कपालकम्",
              "en": "कपालक यन्त्र"
            }
          ],
          "translation": "A copper vessel with a hole beneath, set in a basin of pure water, sinks sixty times in a day-and-night — that is the accurate kapāla instrument.",
          "source": "editions/surya-siddhanta-full-edition.html#v13-23 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 13.23)"
        }
      ],
      "formula": {
        "title": "Clepsydra Inflow/Outflow Timing Calibration",
        "latex": "1 \\text{ Ghaṭī} = 24 \\text{ minutes} = 60 \\text{ Palas} = 3,600 \\text{ Vipalas} = 360 \\text{ Prāṇas}",
        "notes": "Count correspondence between the prāṇa time-unit and arc division (SS 1.11: 6 prāṇa = 1 pala, 60 pala = 1 ghaṭī; 21,600 prāṇa a day, 21,600 arcminutes a circle) — not a physiological claim."
      },
      "codeSnippet": "def time_to_ghati(hours, minutes, seconds):\n    total_sec = hours * 3600 + minutes * 60 + seconds\n    return total_sec / 1440.0 # 1 ghati = 1440 seconds",
      "codeOutput": "Input: 12:00:00 elapsed from midnight (per this snippet's convention)\ntime_to_ghati(12, 0, 0) → 30.00 ghati (1 ghati = 1,440 seconds)\nComputed by executing this snippet (Python 3)."
    },
    {
      "num": 14,
      "nameSa": "मानाध्यायः",
      "nameEn": "Reckoning of Time & Eras (Nine Mana Scales)",
      "shortTitle": "14. Manadhyaya",
      "verseRange": "Verses 14.1 – 14.27 (27 श्लोक in the edition) · shown here: 14.1",
      "readingTime": "14 min study",
      "overview": "The crowning synthesis of the nine measures of time named in SS 14.1: brāhma, divya, pitrya, prājāpatya, bārhaspatya (guru), saura, sāvana, cāndra and ārkṣa (nākṣatra).",
      "slokas": [
        {
          "deva": "ब्राह्मं दिव्यं तथा पित्र्यं प्राजापत्यं गुरोस्तथा ।\nसौरं च सावनं चान्द्रं आर्क्षं मानानि वै नव ।।",
          "meter": "सूर्य-सिद्धान्त 14.1",
          "translit": "brāhmaṃ divyaṃ tathā pitryaṃ prājāpatyaṃ gurostathā ।\nsauraṃ ca sāvanaṃ cāndraṃ ārkṣaṃ mānāni vai nava ।।",
          "anvaya": [
            {
              "sa": "ब्राह्मं",
              "en": "ब्रह्मा-मान"
            },
            {
              "sa": "दिव्यं",
              "en": "देव/दिव्य-मान"
            },
            {
              "sa": "पित्र्यं",
              "en": "पितृ-मान"
            },
            {
              "sa": "प्राजापत्यं",
              "en": "प्रजापति-मान"
            },
            {
              "sa": "गुरोः",
              "en": "गुरु/बृहस्पति-मान"
            },
            {
              "sa": "सौरं",
              "en": "सूर्य-मान"
            },
            {
              "sa": "सावनं",
              "en": "सावन/नागरिक-दिन-मान"
            },
            {
              "sa": "चान्द्रं",
              "en": "चन्द्र-मान"
            },
            {
              "sa": "आर्क्षं",
              "en": "नक्षत्र/तारकीय-मान"
            },
            {
              "sa": "मानानि वै नव",
              "en": "ये नौ ही काल-माप हैं"
            }
          ],
          "translation": "There are nine measures of time: those of Brahmā, of the gods, of the pitṛs, of Prajāpati, of the preceptor (Jupiter), the solar, the civil (sāvana), the lunar, and the sidereal (ārkṣa). The verse simply names the full set before distinguishing which of them govern ordinary reckoning.",
          "source": "editions/surya-siddhanta-full-edition.html#v14-01 — Devanāgarī, IAST, padaccheda-anvaya and English rendering as printed in the edition (सूर्य-सिद्धान्त 14.1)"
        }
      ],
      "formula": {
        "title": "Ratio of Sidereal to Solar Civil Revolutions",
        "latex": "\\frac{\\text{Sidereal Days}}{\\text{Civil Days}} = \\frac{1577917828 + 4320000}{1577917828} = 1.0027379093",
        "notes": "Sidereal days = civil days + the Sun's revolutions: 1,577,917,828 + 4,320,000 = 1,582,237,828, the stellar risings of SS 1.34."
      },
      "codeSnippet": "def sidereal_day_seconds(civil_sec=86400.0, yuga_days=1577917828, yuga_years=4320000):\n    ratio = yuga_days / (yuga_days + yuga_years)\n    return civil_sec * ratio",
      "codeOutput": "sidereal_day_seconds() → 86164.1012 seconds ≈ 23h 56m 4.10s\n(from the ratio 1,577,917,828 / (1,577,917,828 + 4,320,000) applied to 86,400 s)\nComputed by executing this snippet (Python 3)."
    }
  ]
}