API Reference / FindAspectsOptions · interface

Interface: FindAspectsOptions

Options for findAspects.

Properties

PropertyTypeDescription
<a id="aspects"></a> aspects?Record<string, number>Aspect angle table (name → degrees), defaulting to the five Ptolemaic ASPECTS. A caller may inject minors ({ quincunx: 150, ... }); each named aspect needs an orb in the orbs table or it is skipped.
<a id="separation"></a> separation?"longitude" | "spatial"How to measure the separation between two bodies. "longitude" (the default) is the zodiacal aspect: difference in ecliptic longitude, the tradition's primary object. "spatial" is the true great-circle separation on the celestial sphere (angularSeparation3d), accounting for ecliptic latitude — the correction Robson describes for bodies with latitude, where "the aspects to the body of a star with latitude do not fall in the zodiacal degrees one would expect". The two answers coincide on the ecliptic and diverge for the Moon, Pluto, the asteroids, and every fixed star; the default stays "longitude" because the zodiacal aspect is the primary object and the spatial separation is an opt-in refinement.

Start building

Quickstart →