API Reference
Lengths and Distances
UnitfulAstro.AU — ConstantUnitfulAstro.AUThe astronomical unit, an IAU unit of distance, defined as 149 597 870 700 m, in IAU 2012. It is intended to represent the mean distance between the Earth and the Sun.
Dimension: 𝐋
Reference: IAU 2012 Resolution B2
UnitfulAstro.ly — ConstantUnitfulAstro.lyThe light-year, a unit of distance, defined as 1 c⋅yr (speed of light times year). It is intended to represent the amount of distance traveled by an object traveling at the speed of light (e.g., a photon) in a year.
Dimesion: 𝐋
See also: c (speed of light), yr
UnitfulAstro.pc — ConstantUnitfulAstro.pcThe parsec, a unit of distance, defined as 1 AU/arcsecond, in IAU 2015. The exact conversion is 648000/π AU. It is intended to represent the distance to an object whose apparent parallax is 1 arcsecond when viewed from two distances 1 AU apart.
Dimension: 𝐋
See also: AU, arcsecond
References: Binney & Tremaine (2008), Cox (2002), IAU 2015 Resolution B2
UnitfulAstro.Rsun — ConstantUnitfulAstro.RsunThe solar radius, a unit of length. It is defined as 6.957 × 10^8 m in IAU 2015. It is intended to represent the radius of the sun.
Dimension: 𝐋
Reference: IAU 2015 Resolution B3
UnitfulAstro.Rearth — ConstantUnitfulAstro.RearthThe terrestrial radius, a unit of length. It is defined as 1 equatorial Earth radius.
Dimension: 𝐋
UnitfulAstro.Rearth_e — ConstantUnitfulAstro.Rearth_eThe equatorial Earth radius, a unit of length. It is defined as 6.3781 × 10^6 m. It is intended to represent the distance from the Earth's center to its equator.
Dimension: 𝐋
See also: Rearth_p
Reference: IAU 2015 Resolution B3
UnitfulAstro.Rearth_p — ConstantUnitfulAstro.Rearth_pThe polar Earth radius, a unit of length. It is defined as 6.3568 × 10^6 m. It is intended to represent the distance from the Earth's center to its poles.
Dimension: 𝐋
See also: Rearth_e
Reference: IAU 2015 Resolution B3
UnitfulAstro.Rjup — ConstantUnitfulAstro.RjupThe jovian radius, a unit of length. It is defined as 1 equatorial Jupiter radius.
Dimension: 𝐋
UnitfulAstro.Rjup_e — ConstantUnitfulAstro.Rjup_eThe equatorial Jupiter radius, a unit of length. It is defined as 7.1492 × 10^7 m. It is intended to represent the distance from Jupiter's center to its equator.
Dimension: 𝐋
See also: Rjup_p
Reference: IAU 2015 Resolution B3
UnitfulAstro.Rjup_p — ConstantUnitfulAstro.Rjup_pThe polar Jupiter radius, a unit of length. It is defined as 6.6854 × 10^7 m. It is intended to represent the distance from Jupiter's center to its equator.
Dimension: 𝐋
See also: Rjup_e
Reference: IAU 2015 Resolution B3
Masses and mass parameters
UnitfulAstro.GMsun — ConstantUnitfulAstro.GMSunThe solar mass parameter. It is defined as 1.3271244 × 10^20 m^3 s^-2. It is intended to represent the product of G (the universal gravitational constant) and Msun (the solar mass).
Dimension: 𝐋^3 𝐓^-2
Reference: IAU 2015 Resolution B3
UnitfulAstro.Msun — ConstantUnitfulAstro.MsunThe solar mass, a unit of mass. It is defined as 1 GMsun/G. It is approximately equal to 1.988 × 10^30 kg. It is intended to represent the entire mass of the Sun.
Dimension: 𝐌
Reference: IAU 2015 Resolution B3
UnitfulAstro.GMearth — ConstantUnitfulAstro.GMearthThe terrestrial mass parameter. It is defined as 3.986 004 × 10^14 m^3 s^-2. It is intended to represent the product of G (the universal gravitational constant) and Mearth (the terrestrial mass).
Dimension: 𝐋^3 𝐓^-2
Reference: IAU 2015 Resolution B3
UnitfulAstro.Mearth — ConstantUnitfulAstro.MearthThe terrestrial mass, a unit of mass. It is defined as 1 GMearth/G. It is approximately 5.972 × 10^24 kg. It is intended to represent the total mass of the Earth.
Dimension: 𝐌
UnitfulAstro.GMjup — ConstantUnitfulAstro.GMjupThe jovian mass parameter. It is defined as 1.266 8653 × 10^17 m^3 s^-2. It is intended to represent the product of G (the universal gravitational constant) and Mjup (the jovian mass).
Dimension: 𝐋^3 𝐓^-2
Reference: IAU 2015 Resolution B3
UnitfulAstro.Mjup — ConstantUnitfulAstro.MjupThe jovian mass, a unit of mass. It is defined as 1 GMjup/G. It is approximately 1.898 × 10^27 kg. It is intended to represent the total mass of Jupiter .
Dimension: 𝐌
Energy and fluxes
UnitfulAstro.Jy — ConstantUnitfulAstro.JyThe jansky, a unit of spectral flux density, or spectral irradiance. It is defined as 10^-26 W m^-2 Hz^-1, or 10^-23 erg/s cm^-2 Hz^-1.
Dimension: 𝐌 𝐓^-2
UnitfulAstro.Lsun — ConstantUnitfulAstro.LsunThe solar luminosity, a unit of power. It is defined as 3.828 × 10^26 W in IAU 2015. It is intended to represent the total power emitted by the sun.
Dimension: 𝐌 𝐋^2 𝐓^-3
Reference: IAU 2015 Resolution B3
UnitfulAstro.foe — ConstantUnitfulAstro.foeThe foe, a unit of energy. It is defined as 10^51 erg (ten to the Fifty-One Ergs), or 10^44 J. It is intended to represent the approximate energy released in a supernova explosion.
Dimension: 𝐌 𝐋^-2 𝐓^-2
References: Herant et al. (1997), Hartmann (1999)
UnitfulAstro.SFU — ConstantUnitfulAstro.SFUThe solar flux unit, a unit of spectral flux density, or spectral irradiance. It is defined as 10 kJy, or 10^4 Jy.
Dimension: 𝐌 𝐓^-2
See also: Jy
Reference: Tapping (2013)
UnitfulAstro.TECU — ConstantUnitfulAstro.TECUThe total electron content unit, a unit of areal number density. It is defined as 10^16 m^-2. TODO cite Hofmann-Wellenhof (2001).
Dimension: 𝐋^-2
Reference: Hofmann-Wellenhof (2001)