compute_gochara
Evaluate transit positions of seven grahas against a natal reference sign (Moon or Lagna) to get favourable/unfavourable verdicts, houses from natal, and vedha obstruction candidates as per BPHS Ch.29.
Instructions
Compute Gochara (transit interpretation) for the seven grahas against a natal reference sign per BPHS Ch.29. Returns favourable/unfavourable verdict, house from natal, and raw vedha (obstruction) candidates per planet. The natal reference sign is the caller's choice — typically the natal Moon's sign (Chandra Gochara) or the natal Lagna's sign. Rahu and Ketu are not included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sun | Yes | Transit sign index of Sun (0=Aries … 11=Pisces) | |
| mars | Yes | Transit sign index of Mars | |
| moon | Yes | Transit sign index of Moon | |
| venus | Yes | Transit sign index of Venus | |
| saturn | Yes | Transit sign index of Saturn | |
| school | No | Exemption profile applied to the raw vedha candidate list | Geometry |
| jupiter | Yes | Transit sign index of Jupiter | |
| mercury | Yes | Transit sign index of Mercury | |
| vedha_table | No | Vedha pair table source | Bphs29 |
| natal_reference_sign | Yes | Sign index of the natal reference point — natal Moon for Chandra Gochara, natal Lagna for Lagna-based Gochara |