API Reference
Lengths and Distances
UnitfulAstro.AU — Constant
UnitfulAstro.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 — Constant
UnitfulAstro.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 — Constant
UnitfulAstro.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 — Constant
UnitfulAstro.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 — Constant
UnitfulAstro.RearthThe terrestrial radius, a unit of length. It is defined as 1 equatorial Earth radius.
Dimension: 𝐋
UnitfulAstro.Rearth_e — Constant
UnitfulAstro.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 — Constant
UnitfulAstro.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 — Constant
UnitfulAstro.RjupThe jovian radius, a unit of length. It is defined as 1 equatorial Jupiter radius.
Dimension: 𝐋
UnitfulAstro.Rjup_e — Constant
UnitfulAstro.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 — Constant
UnitfulAstro.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 — Constant
UnitfulAstro.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 — Constant
UnitfulAstro.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 — Constant
UnitfulAstro.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 — Constant
UnitfulAstro.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 — Constant
UnitfulAstro.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 — Constant
UnitfulAstro.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 — Constant
UnitfulAstro.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 — Constant
UnitfulAstro.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 — Constant
UnitfulAstro.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 — Constant
UnitfulAstro.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 — Constant
UnitfulAstro.TECUThe total electron content unit, a unit of areal number density. It is defined as 10^16 m^-2.
Dimension: 𝐋^-2
Reference: Hofmann-Wellenhof (2001)