principia_materia.constants.physical_constant module
- class principia_materia.constants.physical_constant.PhysicalConstant(data, name=None, default_unit=None)
Bases:
object
A physical constant in a given units
This class will construct a given physical constant in different units. with provided data at construction.
- Parameters:
data (str) – Table of constant values data. (See below for format eamples.)
name (str, optional, default to None) – Name of the constant.
default_unit (str, optional, default to None) – The default unit for the constant. If None, default to the first in the provided data.
- static data_parse(data)
- property existing_units