Anandadi Yoga
derived.anandadi-yoga
A weekday and Nakshatra table assigns one of the 28 Anandadi Yogas.
Assurance
| Level | Current statement |
|---|---|
| Documented and traceable | Yes — the canonical record includes the process and a worked example. |
| Regression or reproduction checked | Linked to 1 repository test file(s). |
| Independently source-supported | Not recorded as independently verified. The disclosed provenance state remains authoritative. |
Computation method
Method type: formula
Rotate the 28-name Anandadi sequence by the weekday's configured Nakshatra offset, then index it with the active Nakshatra.
Process
- Look up the zero-based weekday offset in VAARA_OFFSET.
- Look up the active Nakshatra's zero-based index in NAKSHATRA_ORDER.
- Subtract the weekday offset, reduce modulo 28, and index ANANDADI_YOGAS.
- Return null for an unrecognized weekday or Nakshatra.
Formulae
Anandadi index
y = (n - o_v) mod 28- n: zero-based Nakshatra index
- o_v: weekday-specific starting offset
- y: index in the 28-name Anandadi sequence
Worked example
Guruvaram with Anuradha
Inputs
- Guruvaram offset: 16
- Anuradha Nakshatra index: 16
Calculation
- (16 - 16) mod 28 = 0.
- ANANDADI_YOGAS[0] is Ananda.
Result
- Ananda
Method notes
- The rotation and dispositions are regression-pinned; the exact source-edition locator remains open and is disclosed in Provenance.
Contract
Owning layer: derived
Claim kind: textual-rule
Time basis: Panchangam day and its active Nakshatra.
Inputs
- Vaaram
- Nakshatra
Outputs
- Anandadi Yoga name
References and evidence
Evidence classes: textual
Verification states: needs_locator
The table is regression-tested but still belongs to the broader derived-classification locator gap.
panchangam.derived_classifications
Evidence class: textual
Verification state: needs_locator
Locator: No precise locator is registered.
Scope: Special Yogas, Panchaka labels, Khara month, Pitru Paksha, Simha-Stha, Maudhya, Anandadi Yoga, Disha Shoola, Nakshatra Mukha and Panchaka Rahita are separate traditional classifications. The group exists to expose evidence debt and grants no umbrella textual authority; each component needs its own inspected rule table and regional boundary.
Sources
- Muhurtha (Electional Astrology) — B. V. Raman; UBS Publishers' Distributors, 1993, ISBN 9788185674681, 181 catalogued pages; authority type:
modern_synthesis - Muhurta Chintamani — Rama Daivajna; Undated Sanskrit text with Hindi commentary, Internet Archive identifier muhurta-chintamani-hindi; authority type:
primary_text_hindi_commentary
The complete machine-readable source registry is available in provenance.json. A regression fixture or same-code reproduction is not independent verification.
Reproduce and review
Run the linked tests, then the complete offline contract:
python tools/verify_project.pyPublic surfaces
python-librarymcpicswebsite
Limitations
- The table is a named textual convention, not an astronomical observation.
Implementation
- owner:
telugu_panchangam/special_yogas.py—compute_anandadi_yoga
This route is generated from computations.json. Edit the registry and canonical reference prose in the same pull request as a behavior change.