Detect Bazi Interactions
detect_bazi_interactionsIdentify Earthly Branch interactions in a Bazi chart—clashes, combinations, trines, punishments, destructions, and harms—across natal, annual, and Da Yun pillars.
Instructions
Detect raw Earthly Branch relationship occurrences for a natal chart and optional annual and Da Yun branches. Preserves every matching pillar position, including repeated branches. Covers clashes, six-combinations, the eight central-branch half-trines (COMBINATION_HALF), full trines, directionals, punishments, destructions, and harms. Results establish relationship presence, not weights, cancellation, or automatic transformation; targetElement is an affinity, not transformed energy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dayBranch | Yes | Natal day branch. | |
| hourBranch | No | Natal hour branch. Omit when birth time is unknown. | |
| yearBranch | Yes | Natal year branch. | |
| dayunBranch | No | Optional Da Yun branch. Preserved as the dayun pillar role, independently of the annual and natal branches. | |
| monthBranch | Yes | Natal month branch. | |
| annualBranch | No | Optional annual or target branch. Preserved as the annual pillar role, independently of repeated natal branches. |