Find which aspect (if any) a separation matches.
Angular separation between two bodies (0-180°)
Optional
Configuration specifying which aspects to check and orbs
The matching aspect definition and deviation, or null if no match
When multiple aspects could match (rare with reasonable orbs), returns the one with smallest deviation (closest to exact).
const result = findMatchingAspect(88, { aspectTypes: [AspectType.Square] });// { aspect: { type: 'square', angle: 90, ... }, deviation: 2 } Copy
const result = findMatchingAspect(88, { aspectTypes: [AspectType.Square] });// { aspect: { type: 'square', angle: 90, ... }, deviation: 2 }
Find which aspect (if any) a separation matches.