Caelus3,462 checksGitHubv0.25.0MIT
API Reference / selectPacks · function

Function: selectPacks()

function selectPacks(manifest, selection): PackManifestEntry[];

The manifest entries a computation needs, in manifest order.

The Sun's position is the Earth's, so "sun" selects the Earth's packs. A planet selects its own packs and the Earth's, because its geocentric direction is the difference of the two; with the planet's pack alone the Earth would come from the embedded series and the result would not match the full tier. The Moon is geocentric and needs only its own.

With a year range, only packs whose span overlaps it are returned.

Parameters

ParameterType
manifestPackManifest
selectionPackSelection

Returns

PackManifestEntry[]

Start building

Quickstart →