Skip to content

src/core/sources/fields.js ​

The common fields every catalogue plug-in maps its columns onto, in ESL units: periods, times and durations in days (times are JD, normally BJD_TDB as the catalogue gives them), depth as a fraction, planet mass and radius in Jupiter units, stellar ones in solar units, a in au, angles in degrees, K in m/s, temperatures in K, distance in pc. Display units are a matter for the page.

Import: import { … } from './src/core/sources/fields.js' — no DOM, runs in Node and the browser.

FIELDS ​

js
const FIELDS
text
key -> { label, unit, group, kind: 'num' | 'str' | 'bool', desc }

NUMERIC_FIELDS ​

js
const NUMERIC_FIELDS

No description in the source.

MIT licensed · Kyle A. Pearson