API Reference
Lengths and Distances
UnitfulAstro.AU
— ConstantUnitfulAstro.AU
The 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.ly
The 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.pc
The 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.Rsun
The 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.Rearth
The terrestrial radius, a unit of length. It is defined as 1 equatorial Earth radius.
Dimension: 𝐋
UnitfulAstro.Rearth_e
— ConstantUnitfulAstro.Rearth_e
The 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_p
The 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.Rjup
The jovian radius, a unit of length. It is defined as 1 equatorial Jupiter radius.
Dimension: 𝐋
UnitfulAstro.Rjup_e
— ConstantUnitfulAstro.Rjup_e
The 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_p
The 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.GMSun
The 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.Msun
The 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.GMearth
The 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.Mearth
The 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.GMjup
The 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.Mjup
The 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.Jy
The 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.Lsun
The 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.foe
The 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.SFU
The 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.TECU
The 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)