Gada Yoga: All seven planets must be clustered in two adjacent Kendra houses (e.g., houses 1 and 4, or 4 and 7).
Sakata Yoga: All planets must be stationed exclusively within the 1st and 7th house axis. This design produces dynamic interpersonal shifts and alternating focus cycles.
Vihaga Yoga: All planets must occupy the 4th and 10th house axis exclusively. This indicates high system visibility, public impact, and strong structural execution.
3.3 Combined Planetary Construct Yogas
Gaja Kesari Yoga: Triggered when Jupiter is located in a Kendra house (1st, 4th, 7th, 10th) relative to the Moon's position.
Gaja Kesari House Distance Rule
((House_Jupiter - House_Moon + 12) % 12) + 1 ∈ {1, 4, 7, 10}
Enhancement: Jupiter is exalted or in its own sign. Neutralization: Jupiter is combust, or the Moon is heavily waned (within $72^\circ$ of solar proximity).
Kemadruma Yoga: Triggered if there are no planets (excluding the Sun, Rahu, and Ketu) in both the 2nd and 12th houses relative to the Moon. This indicates structural vulnerability or lack of systemic support.
Kemadruma Verification Rule
if (CountPlanets(House_Moon - 1) == 0 && CountPlanets(House_Moon + 1) == 0) return YOGA_ACTIVE;
Cancellation (Kemadruma Bhanga): If any planet occupies a Kendra house relative to either the Lagna or the Moon, the engine flags the yoga as cancelled, converting structural isolation into independence and resilience.
4. Almanac & Panchanga Yogas (Time-Selection Windows)
Unlike Graha Yogas, which evaluate planetary geometry relative to an ascendant, Almanac Yogas calculate time-varying values derived from solar-lunar longitudes and time coordinates. These calculations are critical for filtering out unviable time windows in Muhurta software.
4.1 The Nitya Yoga Calculation Engine
Nitya Yogas represent the combined absolute sidereal longitudes of the Sun and the Moon. There are 27 Nitya Yogas, each covering an arc of $13^\circ 20'$ ($800'$ of arc). **Shobhana Yoga** is the 5th configuration in this sequence.
Nitya Yoga Index Formula
YNitya = Math.floor(((SunLongitude + MoonLongitude) % 360) / 13.333333) + 1
The 27 Nitya Yoga Registry Matrix
Your lookup dictionary must evaluate whether the current index returns a benefic or malefic state block:
const NITYA_YOGA_REGISTRY = {
1: { name: "Vishkumbha", type: "Malefic" }, 2: { name: "Preeti", type: "Benefic" },
3: { name: "Ayushman", type: "Benefic" }, 4: { name: "Saubhagya", type: "Benefic" },
5: { name: "Shobhana", type: "Benefic" }, 6: { name: "Atiganda", type: "Malefic" },
7: { name: "Sukarma", type: "Benefic" }, 8: { name: "Dhriti", type: "Benefic" },
9: { name: "Shoola", type: "Malefic" }, 10: { name: "Ganda", type: "Malefic" },
11: { name: "Vriddhi", type: "Benefic" }, 12: { name: "Dhruva", type: "Benefic" },
13: { name: "Vyaghata", type: "Malefic" }, 14: { name: "Harshana", type: "Benefic" },
15: { name: "Vajra", type: "Malefic" }, 16: { name: "Siddhi", type: "Benefic" },
17: { name: "Vyatipata", type: "Malefic" }, 18: { name: "Variyan", type: "Benefic" },
19: { name: "Parigha", type: "Malefic" }, 20: { name: "Shiva", type: "Benefic" },
21: { name: "Siddha", type: "Benefic" }, 22: { name: "Sadhya", type: "Benefic" },
23: { name: "Shubha", type: "Benefic" }, 24: { name: "Shukla", type: "Benefic" },
25: { name: "Brahma", type: "Benefic" }, 26: { name: "Indra", type: "Benefic" },
27: { name: "Vaidhriti", type: "Malefic" }
};
System Rule for Shobhana Yoga (Index 5): This configuration acts as a positive enhancement filter for stability and growth, mitigating minor malefic planetary transits during time-window generation.
4.2 Weekday-Nakshatra Intersections (Anandadi & Mishraka Yogas)
These yogas evaluate the alignment of the current **Weekday (Vara)** with the transiting **Moon's Nakshatra**. When specific combinations occur, they create structural blocks that take precedence over standard planetary house alignments.
Critical Exception Rule (Nasa & Dagdha Yogas): If the engine identifies a Nasa or Dagdha condition, the current time window is instantly disqualified (is_executable = false), skipping subsequent planetary yoga scoring loops.