API Reference / chartStability · function
Function: chartStability()
function chartStability(
engine,
jdUt,
opts?): StabilityResult;
Which facts of a chart survive an uncertain time.
The window is jdUt plus and minus halfWidthSeconds. Left unset, the
half-width is the one-sigma uncertainty of ΔT at that epoch. Pass 900 for
a birth time good to the quarter hour, or 43200 for a date with no time.
Each fact comes back with its value at the stated instant, whether it holds across the window, the share of the window in which it holds, and the window cut into runs of one value, so each boundary between runs is an instant the fact changes.
Parameters
| Parameter | Type | Description |
|---|---|---|
engine | Engine | The engine to compute charts with. |
jdUt | number | The stated instant (Julian Day, UT). |
opts | StabilityOptions | Place, window, house system, zodiac, orbs, and sampling step. |
Returns
The window, every fact with its segments, and a count of how many facts are stable.
Example
// Born 10 June 1990 in Tampa, "about 2:30 in the afternoon".
const jd = julianDay(1990, 6, 10, 18, 30);
const { facts } = chartStability(engine, jd, {
lat: 27.95, lonEast: -82.46, halfWidthSeconds: 900,
});
facts.filter((f) => !f.stable).map((f) => `${f.kind} ${f.subject}`);