Source

types/units.ts

/**
 * Angular degree
 */
export type Degree = number
/**
 * Angular radian
 */
export type Radian = number;
/**
 * Giga-year = 10^9 terrestrial years.
 */
export type GYr = number;
/**
 * Terrestrial year = (365 or 366 Days)
 */
export type Year = number;
/**
 * Terrestrial month
 */
export type Month = number;
/**
 * Terrestrial day (= 24 Hours)
 */
export type Day = number;
/**
 * Time hour
 */
export type Hour = number;
/**
 * Time second
 */
export type Minute = number;
/**
 * Time minute
 */
export type Second = number;
/**
 * Time milisecond
 */
export type MiliSecond = number;
/**
 * Pixel
 */
export type Pixel = number;
/**
 * Julian day
 * The Julian Day is a continuous count of days and fractions thereof from the beginning of the year -4712.
 * By tradition, the Julian Day begins at Greenwich mean noon, that is, 12h Universal Time.
 */
export type JulianDay = number;
/**
 * Julian century (= time interval of 36525 days)
 */
export type JulianCentury = number;
/**
 * Julian millenium (= time interval of 365250 days)
 */
export type JulianMillenium = number;
/**
 * Julian Ephemeris Day
 */
export type JulianEphemerisDay = number;
export type ArcMinute = number;
export type ArcSecond = number;
/**
 * Mean radius of Jupiter
 */
export type JupiterRadius = number
/**
 * Mean radius of the Sun
 */
export type SolarRadius = number
/**
 * Astronomical unit, that is mean distance between the centers of the Sun and the Earth.
 */
export type AstronomicalUnit = number
/**
 * Parsec
 */
export type Parsec = number
/**
 * Kiloparsec. Of course.
 */
export type KiloParsec = number
/**
 * Megaparsec.
 */
export type MegaParsec = number
/**
 * Gpc^3.
 */
export type GigaParsec3 = number
/**
 * kpc/".
 */
export type KiloparsecPerArcsecond = number
/**
 * Logarithmic scale of luminosity
 */
export type Magnitude = number;
/**
 * KilometerPerSecondPerMegaParsec (for the Hubble constant)
 */
export type KilometerPerSecondPerMegaParsec = number;
/**
 * Albedo
 */
export type Albedo = number
/**
 * Meter
 */
export type Meter = number;
/**
 * Kilometer
 */
export type Kilometer = number;
/**
 * Light-Year
 */
export type LightYear = number;
/**
 * Kilogram
 */
export type Kilogram = number;
/**
 * 10^24 kilograms
 */
export type Kilogram24 = number;
/**
 * g cm^-3
 */
export type GramPerCubicCentimeter = number;
/**
 * m s^-2
 */
export type MeterPerSquareSecond = number;
/**
 * km s^-1
 */
export type KilometerPerSecond = number;
/**
 * Celsius degrees
 */
export type Celsius = number;