API Reference

Lengths and Distances

UnitfulAstro.AUConstant
UnitfulAstro.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

source
UnitfulAstro.lyConstant
UnitfulAstro.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

source
UnitfulAstro.pcConstant
UnitfulAstro.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

source
UnitfulAstro.RsunConstant
UnitfulAstro.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

source
UnitfulAstro.Rearth_eConstant
UnitfulAstro.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

source
UnitfulAstro.Rearth_pConstant
UnitfulAstro.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

source
UnitfulAstro.Rjup_eConstant
UnitfulAstro.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

source
UnitfulAstro.Rjup_pConstant
UnitfulAstro.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

source

Masses and mass parameters

UnitfulAstro.GMsunConstant
UnitfulAstro.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

See also: G, Msun

Reference: IAU 2015 Resolution B3

source
UnitfulAstro.MsunConstant
UnitfulAstro.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: 𝐌

See also: G, GMsun

Reference: IAU 2015 Resolution B3

source
UnitfulAstro.GMearthConstant
UnitfulAstro.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

See also: G, Mearth

Reference: IAU 2015 Resolution B3

source
UnitfulAstro.MearthConstant
UnitfulAstro.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: 𝐌

See also: G, GMearth

source
UnitfulAstro.GMjupConstant
UnitfulAstro.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

See also: G, Mjup

Reference: IAU 2015 Resolution B3

source
UnitfulAstro.MjupConstant
UnitfulAstro.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: 𝐌

See also: G, GMjup

source

Energy and fluxes

UnitfulAstro.JyConstant
UnitfulAstro.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

source
UnitfulAstro.LsunConstant
UnitfulAstro.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

source
UnitfulAstro.foeConstant
UnitfulAstro.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)

source
UnitfulAstro.SFUConstant
UnitfulAstro.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)

source
UnitfulAstro.TECUConstant
UnitfulAstro.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)

source