Astro-Constants
view release on metacpan or search on metacpan
lib/Astro/Constants/2019.pm view on Meta::CPAN
=head2 AXIS_SM_LUNAR
3.84402e8
lunar orbital semi-major axis
This constant is also available using the alternate name C<LUNAR_SM_AXIS>
(imported using the :alternate tag for backwards compatibility)
=head2 ECCENTRICITY_LUNAR
0.0549
lunar orbital eccentricity
This constant is also available using the alternate name C<LUNAR_ECCENTRICITY>
(imported using the :alternate tag for backwards compatibility)
=head2 THOMSON_CROSS_SECTION
6.6524587321e-29
Thomson cross-section
This constant is also available using the alternate name C<THOMSON_XSECTION>
(imported using the :alternate tag for backwards compatibility)
=head2 MASS_ELECTRON
9.1093837015e-31
mass of electron
This constant is also available using the alternate name C<ELECTRON_MASS>
(imported using the :alternate tag for backwards compatibility)
=head2 MASS_PROTON
1.67262192369e-27
mass of proton
This constant is also available using the alternate name C<PROTON_MASS>
(imported using the :alternate tag for backwards compatibility)
=head2 MASS_NEUTRON
1.67492749804e-27
neutron mass
This constant is also available using the alternate name C<NEUTRON_MASS>
(imported using the :alternate tag for backwards compatibility)
=head2 MASS_HYDROGEN
1.6738e-27
mass of Hydrogen atom --
This value is from the IUPAC and is a little smaller than MASS_PROTON + MASS_ELECTRON, but within the uncertainty given here. The current value is 1.008u +/- 0.0002 derived from a range of terrestrial materials. If this is for precision work, you h...
This constant is also available using the alternate name C<HYDROGEN_MASS>
(imported using the :alternate tag for backwards compatibility)
=head2 MASS_ALPHA
6.6446573357e-27
mass of alpha particle
=head2 RADIUS_ELECTRON
2.8179403262e-15
classical electron radius
This constant is also available using the alternate name C<ELECTRON_RADIUS>
(imported using the :alternate tag for backwards compatibility)
=head2 RADIUS_BOHR
5.29177210903e-11
Bohr radius
This constant is also available using the alternate name C<BOHR_RADIUS>
(imported using the :alternate tag for backwards compatibility)
=head2 RADIUS_JUPITER
69911000
Volumetric mean radius of Jupiter
=head2 MASS_JUPITER
1.89819e27
mass of Jupiter
=head1 EXPORT
Nothing is exported by default, so the module doesn't clobber any of your variables.
Select from the following tags:
=over 4
=item *
C<:all> (everything except :deprecated)
=item *
C<:fundamental>
=item *
C<:conversion>
=item *
C<:mathematics>
=item *
C<:cosmology>
=item *
C<:planetary>
=item *
C<:electromagnetic>
=item *
C<:nuclear>
=item *
C<:alternates>
=item *
C<:deprecated>
=back
=head1 FUNCTIONS
=head2 pretty
This is a helper function that rounds a value or list of values to 5 significant figures.
=head2 precision
Give this method the string of the constant and it returns the precision or uncertainty
listed.
$rel_precision = precision('GRAVITATIONAL');
$abs_precision = precision('MASS_EARTH');
At the moment you need to know whether the uncertainty is relative or absolute.
Looking to fix this in future versions.
=head2 Deprecated functions
I've gotten rid of C<list_constants> and C<describe_constants> because they are now in
the documentation. Use C<perldoc Astro::Constants> for that information.
=head1 SEE ALSO
=over 4
=item *
L<Astro::Cosmology>
=item *
L<Perl Data Language|PDL>
=item *
L<NIST|http://physics.nist.gov>
=item *
L<Astronomical Almanac|http://asa.usno.navy.mil>
=item *
L<IAU 2015 Resolution B3|http://iopscience.iop.org/article/10.3847/0004-6256/152/2/41/meta>
=item *
L<Neil Bower's review on providing read-only values|http://neilb.org/reviews/constants.html>
=item *
L<Test::Number::Delta>
=item *
L<Test::Deep::NumberTolerant> for testing values within objects
=back
Reference Documents:
=over 4
=item *
L<IAU 2009 system of astronomical constants|http://aa.usno.navy.mil/publications/reports/Luzumetal2011.pdf>
=item *
L<Astronomical Constants 2016|http://asa.usno.navy.mil/static/files/2016/Astronomical_Constants_2016.pdf>
=item *
L<IAU recommendations concerning units|https://www.iau.org/publications/proceedings_rules/units>
( run in 1.363 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )