Astro-Constants

 view release on metacpan or  search on metacpan

lib/Astro/Constants.pm6  view on Meta::CPAN


=head3 LIGHT_YEAR

    9_460_730_472_580_800	MKS
    9.4607304725808e17	CGS

the distance that light travels in vacuum in one Julian year

=end pod

our constant LIGHT_YEAR is export(:conversion :cosmology :planetary) = 9_460_730_472_580_800;

=head3 ANGSTROM

    1e-10	MKS
    1e-8	CGS

Angstrom

=end pod

our constant ANGSTROM is export(:conversion :electromagnetic :nuclear) = 1e-10;

=head3 JANSKY

    1e-26	MKS
    1e-23	CGS

Jansky, a unit of flux density

=end pod

our constant JANSKY is export(:conversion :cosmology :electromagnetic) = 1e-26;

=head3 AVOGADRO

    6.02214076e23

Avogadro's number

=end pod

our constant AVOGADRO is export(:conversion :nuclear) = 6.02214076e23;

=head3 YEAR

    31_557_600

defined as exactly 365.25 days of 86400 SI seconds

This constant is also available using the alternate name C<YEAR_JULIAN> (imported using the :alternate tag for backwards compatibility)

=end pod

our constant YEAR is export(:conversion :cosmology) = 31_557_600;

=head3 YEAR_TROPICAL

    31_556_925.1

the period of time for the ecliptic longitude of the Sun to increase 360 degrees, approximated by the Gregorian calendar

=end pod

our constant YEAR_TROPICAL is export(:conversion :cosmology) = 31_556_925.1;

=head3 YEAR_SIDEREAL

    31_558_149.8

the period of revolution of the Earth around the Sun in a fixed reference frame

=end pod

our constant YEAR_SIDEREAL is export(:conversion :cosmology) = 31_558_149.8;

=head3 YEAR_ANOMALISTIC

    31_558_432.6

the period between successive passages of the Earth through perihelion

=end pod

our constant YEAR_ANOMALISTIC is export(:conversion :planetary) = 31_558_432.6;

=head3 YEAR_ECLIPSE

    29_947_974.3

the period between successive passages of the Sun (as seen from the geocenter) through the same lunar node

=end pod

our constant YEAR_ECLIPSE is export(:conversion :planetary) = 29_947_974.3;

=head3 MASS_SOLAR

    1.9884e30	MKS
    1.9884e33	CGS

solar mass

This constant is also available using the alternate name C<SOLAR_MASS> (imported using the :alternate tag for backwards compatibility)

=end pod

our constant MASS_SOLAR is export(:cosmology :planetary) = 1.9884e30;

=head3 LUMINOSITY_SOLAR

    3.828e26	MKS
    3.828e33	CGS

solar luminosity

This constant is also available using the alternate name C<SOLAR_LUMINOSITY> (imported using the :alternate tag for backwards compatibility)

=end pod

our constant LUMINOSITY_SOLAR is export(:cosmology :planetary) = 3.828e26;



( run in 3.431 seconds using v1.01-cache-2.11-cpan-5837b0d9d2c )