Astro-Constants
view release on metacpan or search on metacpan
AUTHOR_NOTES.md view on Meta::CPAN
* note deprecation in ChangeLog
* wait minimum of 2 versions and 2 years
* remove constant from PhysicalConstants file (to RemovedConstants.xml?)
* note removal in ChangeLog
## Add *symbol* to PhysicalConstants.xml schema
* adding entity "symbol" to schema
* no type attribute required if constant is a Latin character
* otherwise
* unicode
* description, usually the unicode description of the character(s)
* latex and html are the representations to produce the symbol
* need to find the XML representation of & so that I can produce π in valid XML
* ascii - how symbol is traditionally rendered in ascii format
* take a look a the diff between PhysicalConstants.xml and PhysicalConstants_with_symbols.xml
# Design decisions
## PhysicalConstants
data/PhysicalConstants.xml view on Meta::CPAN
<category>nuclear</category>
</categoryList>
</PhysicalConstant>
<PhysicalConstant>
<name>STEFAN_BOLTZMANN</name>
<alternateName/>
<symbol>
<symbolRepresentation>
<latex>\sigma</latex>
<html>&sigma;</html>
<unicode>Ï</unicode>
</symbolRepresentation>
</symbol>
<description>Stefan-Boltzmann constant</description>
<value>5.670374419e-8</value>
<uncertainty type="relative">1.7e-10</uncertainty>
<dimensions mass="1" time="-3" temperature="-4"/>
<maxValue/>
<minValue/>
<source url="http://physics.nist.gov/cgi-bin/cuu/Value?sigma" authority="2018 CODATA" year="2019"/>
<source url="https://en.wikipedia.org/wiki/Stefan%E2%80%93Boltzmann_constant"/>
data/PhysicalConstants.xml view on Meta::CPAN
<category>nuclear</category>
</categoryList>
</PhysicalConstant>
<PhysicalConstant>
<name>IMPEDANCE_VACUUM</name>
<alternateName>VACUUM_IMPEDANCE</alternateName>
<symbol>
<symbolRepresentation>
<latex>Z_{0}</latex>
<html>Z<sub>0</sub></html>
<unicode>Zâ</unicode>
</symbolRepresentation>
</symbol>
<description>characteristic impedance of vacuum</description>
<value>376.730313461</value>
<uncertainty type="relative">1e-50</uncertainty>
<dimensions mass="1" lenghth="2" time="-3" current="-2"/>
<maxValue/>
<minValue/>
<source url="http://physics.nist.gov/cgi-bin/cuu/Value?z0"/>
<categoryList>
data/PhysicalConstants.xsd view on Meta::CPAN
<xs:element name="categoryList">
<xs:complexType>
<xs:sequence>
<xs:element name="category" type="xs:string" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="symbolRepresentation">
<xs:complexType>
<xs:choice maxOccurs="6">
<xs:element name="unicode" type="xs:string"/>
<xs:element name="codepoint" type="xs:string"/>
<xs:element name="description" type="xs:string"/>
<xs:element name="latex" type="xs:string"/>
<xs:element name="html" type="xs:string"/>
<xs:element name="ascii" type="xs:string"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="deprecated">
<xs:complexType>
data/old_versions/constants_2020_v0.14.xml view on Meta::CPAN
</categoryList>
</PhysicalConstant>
<PhysicalConstant>
<name type="long">STEFAN_BOLTZMANN</name>
<name type="short">A_sigma</name>
<alternateName/>
<symbol>
<symbolRepresentation>
<latex>\sigma</latex>
<html>&sigma;</html>
<unicode>Ï</unicode>
</symbolRepresentation>
</symbol>
<description>Stefan-Boltzmann constant</description>
<value system="MKS">5.670374419e-8</value>
<value system="CGS">5.670367e-5</value>
<uncertainty type="relative">1.7e-10</uncertainty>
<dimensions/>
<maxValue/>
<minValue/>
<source url="http://physics.nist.gov/cgi-bin/cuu/Value?sigma" authority="2018 CODATA" year="2019" />
data/old_versions/constants_2020_v0.14.xml view on Meta::CPAN
</categoryList>
</PhysicalConstant>
<PhysicalConstant>
<name type="long">IMPEDANCE_VACUUM</name>
<name type="short">A_Z0</name>
<alternateName>VACUUM_IMPEDANCE</alternateName>
<symbol>
<symbolRepresentation>
<latex>Z_{0}</latex>
<html>Z<sub>0</sub></html>
<unicode>Zâ</unicode>
</symbolRepresentation>
</symbol>
<description>characteristic impedance of vacuum</description>
<value>376.730313461</value>
<uncertainty type="relative">1e-50</uncertainty>
<dimensions/>
<maxValue/>
<minValue/>
<source url="http://physics.nist.gov/cgi-bin/cuu/Value?z0"/>
<categoryList>
( run in 0.450 second using v1.01-cache-2.11-cpan-88abd93f124 )