Caelus3,462 checksGitHubv0.25.0MIT
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

ParameterTypeDescription
engineEngineThe engine to compute charts with.
jdUtnumberThe stated instant (Julian Day, UT).
optsStabilityOptionsPlace, window, house system, zodiac, orbs, and sampling step.

Returns

StabilityResult

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}`);

Start building

Quickstart →