Methodology

Methodology: the sources and conventions behind every calculation

Two astrology programs can both be correct and still disagree, because each has chosen a convention. This page lists the conventions AstroNode has chosen, per tradition, the text or author each follows, and the places where the output is an approximation.

Updated

Conventions by tradition

Zodiac, houses and source per tradition
TraditionZodiac and ayanamsaHousesFollowsDetails
Vedic (Parashari)Sidereal, Lahiri (Chitrapaksha); mean node for Rahu and KetuWhole-signBrihat Parashara Hora ShastraAyanamsa, house systems
KPSidereal, KP-NewcombPlacidus cuspsKrishnamurti Paddhati: sub-lords in Vimshottari proportions, horary 1 to 249KP sub-lords
Lal KitabSidereal, LahiriFixed: Aries is always house 1Pandit Roop Chand Joshi's editionsLal Kitab
JaiminiSidereal, Lahiri-Char dasha, Rangacharya conventionYogini and Char dasha
Tajika (Varshphal)Sidereal, Lahiri-Solar return of the sidereal Sun, solved to one arc-second; muntha; mudda dashaVarshphal
Nadi (D150)Sidereal, Lahiri-150 equal parts per sign, Chandra Kala orderingNadiamsa
WesternTropicalPlacidus, Koch, equal, whole-sign or Porphyry, per requestAngular aspects with orbsHouse systems
Numerology--Pythagorean and Chaldean letter maps; Y is always a consonantChaldean vs Pythagorean

None of these is a request option on the Vedic, KP or Lal Kitab endpoints: the ayanamsa and house system are fixed per tradition, and every response names what it used in meta. Western endpoints take house_system.

Technique by technique

Rule or source per technique
TechniqueRule the engine appliesDetails
Divisional chartsA separate rule per division, following Brihat Parashara Hora Shastra chapter 4 - not one formula with a different divisorDivisional charts
Vimshottari dasha120-year cycle from the Moon's nakshatra; balance from the fraction of the nakshatra elapsed; five levelsVimshottari
Yogini dasha36-year cycle of eight yoginis from the Moon's nakshatraYogini and Char
AshtakavargaBindu tables from Brihat Parashara Hora Shastra chapter 76; Sarvashtakavarga always totals 337Ashtakavarga
Ashtakoot matchingEight koots, 36 points, with the classical cancellations applied and shown (initial_score beside score)Gun Milan scoring
Yogas55 classical yogas, each returned with the reason it formedYoga reference
Graha drishtiWhole-house aspects counted from the planet's house, with no orbsGraha drishti
PanchangTithi, nakshatra, yoga and karana evaluated at sunrise; sunrise is the Sun's upper limb at the horizon with standard refractionSunrise conventions
Muhurta windowsFractions of that day's daylight at that place, chosen by weekdayMuhurta windows
Retrograde and combustionRetrograde from the sign of the longitudinal speed; combustion from a fixed orb per planetRetrograde and combustion
Tarot drawsFisher-Yates shuffle driven by a seeded generator; pass seed to reproduce a drawDeterminism

What is approximated or left out

An API that claims to be exact everywhere is not telling you where to be careful. These are the places:

  • Shadbala. Several sub-components are held at fixed averages rather than computed, so totals will not match software that computes every classical sub-part. The response says so in meta.notes. See the Shadbala guide.
  • Nadiamsa ordering. D150 is not one of the sixteen classical vargas, the texts do not fix its ordering, and software disagrees about whether its parts are equal. The engine uses equal parts and says which ordering in every response.
  • Transit event times. Events are stamped at the first sample after a change, so they can be up to one sampling step late. See transits.
  • Dasha systems. Vimshottari, Yogini and Char are served. Ashtottari and Kalachakra exist in the engine but no endpoint returns them.
  • Ashtakavarga reductions. Trikona and ekadhipatya shodhana are implemented but not returned; the charts are unreduced.
  • Remedies. The gemstone, rudraksha and puja catalogues are compiled from traditional sources and have not yet had a practising astrologer's review.
  • Future dates. Positions for dates decades ahead depend on extrapolating the Earth's rotation. See accuracy.

Determinism and versions

The calculation engine has no randomness: the same input returns the same data, byte for byte, and every response carries an engine_version that is bumped whenever a change alters output. Store the version beside anything you persist. Endpoints that answer a question about a moment default to the current time, so pass the moment explicitly when you cache or test. The determinism guide lists them.

How the documentation is kept honest

  • Reference tables are generated from the engine's own catalogues, and the build fails if a value in a recorded response is missing from them.
  • Response examples are recorded from real calls, not written by hand.
  • Code samples in the recipes and integrations were executed against the API; each integration page states what was run and what was not.
  • The accuracy figures are recomputed on every build from the same test that enforces them.

Questions

Which classical text does the Vedic engine follow?
Brihat Parashara Hora Shastra: chapter 4 for the divisional charts and chapter 76 for the Ashtakavarga tables, with the Lahiri ayanamsa and whole-sign houses.
Can I change the ayanamsa or house system?
Not on the Vedic, KP or Lal Kitab endpoints: each uses the convention its tradition expects and names it in meta. Western endpoints take a house_system field with five options.
What does AstroNode approximate?
Shadbala holds several sub-components at fixed averages; transit event times are accurate to the sampling step; and the remedy catalogues have not yet had a practising astrologer's review. Each response that is affected says so.