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
| Parameter | Type |
|---|---|
manifest | PackManifest |
selection | PackSelection |