Astro-Constants
view release on metacpan or search on metacpan
0.14051 2025-01-11 18:06:06+00:00 Europe/London
====
* moved constants into main module, Astro::Constants
* removed Astro::Constants::CGS from distribution
* removed short names
* changed `:long` tag to `:all`
v0.14 2020 Apr
====
* updated values to the **2018 CODATA** standard
* build script now produces a Raku module for Astro::Constants
* removed references to CGS in documentation
* added script that fetches constant values and uncertainties from NIST
* added warnings to module when using deprecated constants
* added a script to archive the current PhysicalConstants.xml file
* added dimensions to constants in terms of the SI base units
* values that are established by definition are assigned an relative uncertainty of 0
* clarified definition of critical density parameter, rho_c
* updated PhysicalConstants.xml schema definition
* changed name of **url** element to **source**
* added _authority_, _year_ and _reference_ attributes to **source**
v0.13 2018 May
====
* adding symbols to PhysicalConstants.xml definition file
* adding deprecation warning to Astro::Constants::CGS - to be removed from package v0.15
* alternateName element in PhysicalConstants.xml can now take a "type" attribute
* alternateName with type=deprecated are now listed with the deprecated tag, not the long tag
* adding RADIUS_JUPITER and MASS_JUPITER to the definition file
v0.10 2016 Feb
=====
A couple of interface-breaking changes:
* 'list_constants' and 'describe_constant' have been removed and
people are directed to the docs, 'perldoc Astro::Constants'
* 'precision' is broken at the moment and will be fixed in the next version
These changes are enhancements/improvements:
* Short name constants are now *actually* constant and cannot be assigned to
* Values are now stored in an XML file, PhysicalConstants.xml
* Values have been updated using NIST's CODATA 2014 and the IAU 2009/2012
System of Astronomical Constants
* Long names have an added alternate name to facilitate migrating from
adjective_noun to noun_adjective.
List of name changes
====================
New names have replaced the old names which are retained in the file using
the <alternateName> tag
data/fundamental.dat view on Meta::CPAN
# fundamental.dat
# values updated from NIST website
#
# Format: variable<tab>description<tab>CGS value<tab>MKS value
# or variable<tab>description<tab>value
#
A_c LIGHT_SPEED speed of light in a vacuum 2.99792458e10 2.99792458e8 0
A_k BOLTZMANN Boltzmann's constant 1.38064852e-16 1.38064852e-23 5.7e-7
A_G GRAVITATIONAL universal gravitational constant 6.67408e-8 6.67408e-11 4.7e-5
A_eV ELECTRON_VOLT electron volt 1.6021766208e-12 1.6021766208e-19 6.1e-9
A_h PLANCK Planck constant 6.626070040e-27 6.626070040e-34 1.2e-8
A_hbar HBAR Planck's constant /2pi 1.054571800e-27 1.054571800e-34 1.2e-8
( run in 0.301 second using v1.01-cache-2.11-cpan-05444aca049 )