Skip to content

Commit

Permalink
feat(sigcalc): add NIST physical constants
Browse files Browse the repository at this point in the history
Add NIST CODATA Internationally Recommended 2022 Values of the
Fundamental Physical Constants.

Github-closes: jeremyagray/sigcalc/#41
Signed-off-by: Jeremy A Gray <[email protected]>
  • Loading branch information
jeremyagray committed May 28, 2024
1 parent d9d4b73 commit e40f560
Show file tree
Hide file tree
Showing 6 changed files with 3,072 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ commit
dist/
docs/_build/
htmlcov
docs/sigcalc.*.rst
382 changes: 379 additions & 3 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,389 @@
.. toctree::
:maxdepth: 2

===
API
===
=====
API
=====

Classes
=======

.. autosummary::
:toctree:

sigcalc.Quantity

Mathematical Constants
======================

.. autosummary::
:toctree:

sigcalc.e
sigcalc.pi

NIST CODATA Internationally Recommended 2022 Values of the Fundamental Physical Constants
=========================================================================================

The following constants are included from
`CODATA Internationally Recommended 2022 Values of the Fundamental Physical Constants <https://physics.nist.gov/cuu/Constants/>`_
and are automatically generated from their ASCII data.

.. autosummary::
:toctree:

sigcalc.alpha_particle_electron_mass_ratio
sigcalc.alpha_particle_mass
sigcalc.alpha_particle_mass_energy_equivalent
sigcalc.alpha_particle_mass_energy_equivalent_in_MeV
sigcalc.alpha_particle_mass_in_u
sigcalc.alpha_particle_molar_mass
sigcalc.alpha_particle_proton_mass_ratio
sigcalc.alpha_particle_relative_atomic_mass
sigcalc.alpha_particle_rms_charge_radius
sigcalc.Angstrom_star
sigcalc.atomic_mass_constant
sigcalc.atomic_mass_constant_energy_equivalent
sigcalc.atomic_mass_constant_energy_equivalent_in_MeV
sigcalc.atomic_mass_unit_electron_volt_relationship
sigcalc.atomic_mass_unit_hartree_relationship
sigcalc.atomic_mass_unit_hertz_relationship
sigcalc.atomic_mass_unit_inverse_meter_relationship
sigcalc.atomic_mass_unit_joule_relationship
sigcalc.atomic_mass_unit_kelvin_relationship
sigcalc.atomic_mass_unit_kilogram_relationship
sigcalc.atomic_unit_of_1st_hyperpolarizability
sigcalc.atomic_unit_of_2nd_hyperpolarizability
sigcalc.atomic_unit_of_action
sigcalc.atomic_unit_of_charge
sigcalc.atomic_unit_of_charge_density
sigcalc.atomic_unit_of_current
sigcalc.atomic_unit_of_electric_dipole_mom_
sigcalc.atomic_unit_of_electric_field
sigcalc.atomic_unit_of_electric_field_gradient
sigcalc.atomic_unit_of_electric_polarizability
sigcalc.atomic_unit_of_electric_potential
sigcalc.atomic_unit_of_electric_quadrupole_mom_
sigcalc.atomic_unit_of_energy
sigcalc.atomic_unit_of_force
sigcalc.atomic_unit_of_length
sigcalc.atomic_unit_of_mag_dipole_mom_
sigcalc.atomic_unit_of_mag_flux_density
sigcalc.atomic_unit_of_magnetizability
sigcalc.atomic_unit_of_mass
sigcalc.atomic_unit_of_momentum
sigcalc.atomic_unit_of_permittivity
sigcalc.atomic_unit_of_time
sigcalc.atomic_unit_of_velocity
sigcalc.Avogadro_constant
sigcalc.Bohr_magneton
sigcalc.Bohr_magneton_in_eV_T
sigcalc.Bohr_magneton_in_Hz_T
sigcalc.Bohr_magneton_in_inverse_meter_per_tesla
sigcalc.Bohr_magneton_in_K_T
sigcalc.Bohr_radius
sigcalc.Boltzmann_constant
sigcalc.Boltzmann_constant_in_eV_K
sigcalc.Boltzmann_constant_in_Hz_K
sigcalc.Boltzmann_constant_in_inverse_meter_per_kelvin
sigcalc.characteristic_impedance_of_vacuum
sigcalc.classical_electron_radius
sigcalc.Compton_wavelength
sigcalc.conductance_quantum
sigcalc.conventional_value_of_ampere_90
sigcalc.conventional_value_of_coulomb_90
sigcalc.conventional_value_of_farad_90
sigcalc.conventional_value_of_henry_90
sigcalc.conventional_value_of_Josephson_constant
sigcalc.conventional_value_of_ohm_90
sigcalc.conventional_value_of_volt_90
sigcalc.conventional_value_of_von_Klitzing_constant
sigcalc.conventional_value_of_watt_90
sigcalc.Copper_x_unit
sigcalc.deuteron_electron_mag_mom_ratio
sigcalc.deuteron_electron_mass_ratio
sigcalc.deuteron_g_factor
sigcalc.deuteron_mag_mom_
sigcalc.deuteron_mag_mom_to_Bohr_magneton_ratio
sigcalc.deuteron_mag_mom_to_nuclear_magneton_ratio
sigcalc.deuteron_mass
sigcalc.deuteron_mass_energy_equivalent
sigcalc.deuteron_mass_energy_equivalent_in_MeV
sigcalc.deuteron_mass_in_u
sigcalc.deuteron_molar_mass
sigcalc.deuteron_neutron_mag_mom_ratio
sigcalc.deuteron_proton_mag_mom_ratio
sigcalc.deuteron_proton_mass_ratio
sigcalc.deuteron_relative_atomic_mass
sigcalc.deuteron_rms_charge_radius
sigcalc.electron_charge_to_mass_quotient
sigcalc.electron_deuteron_mag_mom_ratio
sigcalc.electron_deuteron_mass_ratio
sigcalc.electron_g_factor
sigcalc.electron_gyromag_ratio
sigcalc.electron_gyromag_ratio_in_MHz_T
sigcalc.electron_helion_mass_ratio
sigcalc.electron_mag_mom_
sigcalc.electron_mag_mom_anomaly
sigcalc.electron_mag_mom_to_Bohr_magneton_ratio
sigcalc.electron_mag_mom_to_nuclear_magneton_ratio
sigcalc.electron_mass
sigcalc.electron_mass_energy_equivalent
sigcalc.electron_mass_energy_equivalent_in_MeV
sigcalc.electron_mass_in_u
sigcalc.electron_molar_mass
sigcalc.electron_muon_mag_mom_ratio
sigcalc.electron_muon_mass_ratio
sigcalc.electron_neutron_mag_mom_ratio
sigcalc.electron_neutron_mass_ratio
sigcalc.electron_proton_mag_mom_ratio
sigcalc.electron_proton_mass_ratio
sigcalc.electron_relative_atomic_mass
sigcalc.electron_tau_mass_ratio
sigcalc.electron_to_alpha_particle_mass_ratio
sigcalc.electron_to_shielded_helion_mag_mom_ratio
sigcalc.electron_to_shielded_proton_mag_mom_ratio
sigcalc.electron_triton_mass_ratio
sigcalc.electron_volt
sigcalc.electron_volt_atomic_mass_unit_relationship
sigcalc.electron_volt_hartree_relationship
sigcalc.electron_volt_hertz_relationship
sigcalc.electron_volt_inverse_meter_relationship
sigcalc.electron_volt_joule_relationship
sigcalc.electron_volt_kelvin_relationship
sigcalc.electron_volt_kilogram_relationship
sigcalc.elementary_charge
sigcalc.elementary_charge_over_h_bar
sigcalc.Faraday_constant
sigcalc.Fermi_coupling_constant
sigcalc.fine_structure_constant
sigcalc.first_radiation_constant
sigcalc.first_radiation_constant_for_spectral_radiance
sigcalc.hartree_atomic_mass_unit_relationship
sigcalc.hartree_electron_volt_relationship
sigcalc.Hartree_energy
sigcalc.Hartree_energy_in_eV
sigcalc.hartree_hertz_relationship
sigcalc.hartree_inverse_meter_relationship
sigcalc.hartree_joule_relationship
sigcalc.hartree_kelvin_relationship
sigcalc.hartree_kilogram_relationship
sigcalc.helion_electron_mass_ratio
sigcalc.helion_g_factor
sigcalc.helion_mag_mom_
sigcalc.helion_mag_mom_to_Bohr_magneton_ratio
sigcalc.helion_mag_mom_to_nuclear_magneton_ratio
sigcalc.helion_mass
sigcalc.helion_mass_energy_equivalent
sigcalc.helion_mass_energy_equivalent_in_MeV
sigcalc.helion_mass_in_u
sigcalc.helion_molar_mass
sigcalc.helion_proton_mass_ratio
sigcalc.helion_relative_atomic_mass
sigcalc.helion_shielding_shift
sigcalc.hertz_atomic_mass_unit_relationship
sigcalc.hertz_electron_volt_relationship
sigcalc.hertz_hartree_relationship
sigcalc.hertz_inverse_meter_relationship
sigcalc.hertz_joule_relationship
sigcalc.hertz_kelvin_relationship
sigcalc.hertz_kilogram_relationship
sigcalc.hyperfine_transition_frequency_of_Cs_133
sigcalc.inverse_fine_structure_constant
sigcalc.inverse_meter_atomic_mass_unit_relationship
sigcalc.inverse_meter_electron_volt_relationship
sigcalc.inverse_meter_hartree_relationship
sigcalc.inverse_meter_hertz_relationship
sigcalc.inverse_meter_joule_relationship
sigcalc.inverse_meter_kelvin_relationship
sigcalc.inverse_meter_kilogram_relationship
sigcalc.inverse_of_conductance_quantum
sigcalc.Josephson_constant
sigcalc.joule_atomic_mass_unit_relationship
sigcalc.joule_electron_volt_relationship
sigcalc.joule_hartree_relationship
sigcalc.joule_hertz_relationship
sigcalc.joule_inverse_meter_relationship
sigcalc.joule_kelvin_relationship
sigcalc.joule_kilogram_relationship
sigcalc.kelvin_atomic_mass_unit_relationship
sigcalc.kelvin_electron_volt_relationship
sigcalc.kelvin_hartree_relationship
sigcalc.kelvin_hertz_relationship
sigcalc.kelvin_inverse_meter_relationship
sigcalc.kelvin_joule_relationship
sigcalc.kelvin_kilogram_relationship
sigcalc.kilogram_atomic_mass_unit_relationship
sigcalc.kilogram_electron_volt_relationship
sigcalc.kilogram_hartree_relationship
sigcalc.kilogram_hertz_relationship
sigcalc.kilogram_inverse_meter_relationship
sigcalc.kilogram_joule_relationship
sigcalc.kilogram_kelvin_relationship
sigcalc.lattice_parameter_of_silicon
sigcalc.lattice_spacing_of_ideal_Si_220_
sigcalc.Loschmidt_constant_273_15_K_100_kPa_
sigcalc.Loschmidt_constant_273_15_K_101_325_kPa_
sigcalc.luminous_efficacy
sigcalc.mag_flux_quantum
sigcalc.molar_gas_constant
sigcalc.molar_mass_constant
sigcalc.molar_mass_of_carbon_12
sigcalc.molar_Planck_constant
sigcalc.molar_volume_of_ideal_gas_273_15_K_100_kPa_
sigcalc.molar_volume_of_ideal_gas_273_15_K_101_325_kPa_
sigcalc.molar_volume_of_silicon
sigcalc.Molybdenum_x_unit
sigcalc.muon_Compton_wavelength
sigcalc.muon_electron_mass_ratio
sigcalc.muon_g_factor
sigcalc.muon_mag_mom_
sigcalc.muon_mag_mom_anomaly
sigcalc.muon_mag_mom_to_Bohr_magneton_ratio
sigcalc.muon_mag_mom_to_nuclear_magneton_ratio
sigcalc.muon_mass
sigcalc.muon_mass_energy_equivalent
sigcalc.muon_mass_energy_equivalent_in_MeV
sigcalc.muon_mass_in_u
sigcalc.muon_molar_mass
sigcalc.muon_neutron_mass_ratio
sigcalc.muon_proton_mag_mom_ratio
sigcalc.muon_proton_mass_ratio
sigcalc.muon_tau_mass_ratio
sigcalc.natural_unit_of_action
sigcalc.natural_unit_of_action_in_eV_s
sigcalc.natural_unit_of_energy
sigcalc.natural_unit_of_energy_in_MeV
sigcalc.natural_unit_of_length
sigcalc.natural_unit_of_mass
sigcalc.natural_unit_of_momentum
sigcalc.natural_unit_of_momentum_in_MeV_c
sigcalc.natural_unit_of_time
sigcalc.natural_unit_of_velocity
sigcalc.neutron_Compton_wavelength
sigcalc.neutron_electron_mag_mom_ratio
sigcalc.neutron_electron_mass_ratio
sigcalc.neutron_g_factor
sigcalc.neutron_gyromag_ratio
sigcalc.neutron_gyromag_ratio_in_MHz_T
sigcalc.neutron_mag_mom_
sigcalc.neutron_mag_mom_to_Bohr_magneton_ratio
sigcalc.neutron_mag_mom_to_nuclear_magneton_ratio
sigcalc.neutron_mass
sigcalc.neutron_mass_energy_equivalent
sigcalc.neutron_mass_energy_equivalent_in_MeV
sigcalc.neutron_mass_in_u
sigcalc.neutron_molar_mass
sigcalc.neutron_muon_mass_ratio
sigcalc.neutron_proton_mag_mom_ratio
sigcalc.neutron_proton_mass_difference
sigcalc.neutron_proton_mass_difference_energy_equivalent
sigcalc.neutron_proton_mass_difference_energy_equivalent_in_MeV
sigcalc.neutron_proton_mass_difference_in_u
sigcalc.neutron_proton_mass_ratio
sigcalc.neutron_relative_atomic_mass
sigcalc.neutron_tau_mass_ratio
sigcalc.neutron_to_shielded_proton_mag_mom_ratio
sigcalc.Newtonian_constant_of_gravitation
sigcalc.Newtonian_constant_of_gravitation_over_h_bar_c
sigcalc.nuclear_magneton
sigcalc.nuclear_magneton_in_eV_T
sigcalc.nuclear_magneton_in_inverse_meter_per_tesla
sigcalc.nuclear_magneton_in_K_T
sigcalc.nuclear_magneton_in_MHz_T
sigcalc.Planck_constant
sigcalc.Planck_constant_in_eV_Hz
sigcalc.Planck_length
sigcalc.Planck_mass
sigcalc.Planck_mass_energy_equivalent_in_GeV
sigcalc.Planck_temperature
sigcalc.Planck_time
sigcalc.proton_charge_to_mass_quotient
sigcalc.proton_Compton_wavelength
sigcalc.proton_electron_mass_ratio
sigcalc.proton_g_factor
sigcalc.proton_gyromag_ratio
sigcalc.proton_gyromag_ratio_in_MHz_T
sigcalc.proton_mag_mom_
sigcalc.proton_mag_mom_to_Bohr_magneton_ratio
sigcalc.proton_mag_mom_to_nuclear_magneton_ratio
sigcalc.proton_mag_shielding_correction
sigcalc.proton_mass
sigcalc.proton_mass_energy_equivalent
sigcalc.proton_mass_energy_equivalent_in_MeV
sigcalc.proton_mass_in_u
sigcalc.proton_molar_mass
sigcalc.proton_muon_mass_ratio
sigcalc.proton_neutron_mag_mom_ratio
sigcalc.proton_neutron_mass_ratio
sigcalc.proton_relative_atomic_mass
sigcalc.proton_rms_charge_radius
sigcalc.proton_tau_mass_ratio
sigcalc.quantum_of_circulation
sigcalc.quantum_of_circulation_times_2
sigcalc.reduced_Compton_wavelength
sigcalc.reduced_muon_Compton_wavelength
sigcalc.reduced_neutron_Compton_wavelength
sigcalc.reduced_Planck_constant
sigcalc.reduced_Planck_constant_in_eV_s
sigcalc.reduced_Planck_constant_times_c_in_MeV_fm
sigcalc.reduced_proton_Compton_wavelength
sigcalc.reduced_tau_Compton_wavelength
sigcalc.Rydberg_constant
sigcalc.Rydberg_constant_times_c_in_Hz
sigcalc.Rydberg_constant_times_hc_in_eV
sigcalc.Rydberg_constant_times_hc_in_J
sigcalc.Sackur_Tetrode_constant_1_K_100_kPa_
sigcalc.Sackur_Tetrode_constant_1_K_101_325_kPa_
sigcalc.second_radiation_constant
sigcalc.shielded_helion_gyromag_ratio
sigcalc.shielded_helion_gyromag_ratio_in_MHz_T
sigcalc.shielded_helion_mag_mom_
sigcalc.shielded_helion_mag_mom_to_Bohr_magneton_ratio
sigcalc.shielded_helion_mag_mom_to_nuclear_magneton_ratio
sigcalc.shielded_helion_to_proton_mag_mom_ratio
sigcalc.shielded_helion_to_shielded_proton_mag_mom_ratio
sigcalc.shielded_proton_gyromag_ratio
sigcalc.shielded_proton_gyromag_ratio_in_MHz_T
sigcalc.shielded_proton_mag_mom_
sigcalc.shielded_proton_mag_mom_to_Bohr_magneton_ratio
sigcalc.shielded_proton_mag_mom_to_nuclear_magneton_ratio
sigcalc.shielding_difference_of_d_and_p_in_HD
sigcalc.shielding_difference_of_t_and_p_in_HT
sigcalc.speed_of_light_in_vacuum
sigcalc.standard_acceleration_of_gravity
sigcalc.standard_atmosphere
sigcalc.standard_state_pressure
sigcalc.Stefan_Boltzmann_constant
sigcalc.tau_Compton_wavelength
sigcalc.tau_electron_mass_ratio
sigcalc.tau_energy_equivalent
sigcalc.tau_mass
sigcalc.tau_mass_energy_equivalent
sigcalc.tau_mass_in_u
sigcalc.tau_molar_mass
sigcalc.tau_muon_mass_ratio
sigcalc.tau_neutron_mass_ratio
sigcalc.tau_proton_mass_ratio
sigcalc.Thomson_cross_section
sigcalc.triton_electron_mass_ratio
sigcalc.triton_g_factor
sigcalc.triton_mag_mom_
sigcalc.triton_mag_mom_to_Bohr_magneton_ratio
sigcalc.triton_mag_mom_to_nuclear_magneton_ratio
sigcalc.triton_mass
sigcalc.triton_mass_energy_equivalent
sigcalc.triton_mass_energy_equivalent_in_MeV
sigcalc.triton_mass_in_u
sigcalc.triton_molar_mass
sigcalc.triton_proton_mass_ratio
sigcalc.triton_relative_atomic_mass
sigcalc.triton_to_proton_mag_mom_ratio
sigcalc.unified_atomic_mass_unit
sigcalc.vacuum_electric_permittivity
sigcalc.vacuum_mag_permeability
sigcalc.von_Klitzing_constant
sigcalc.weak_mixing_angle
sigcalc.Wien_frequency_displacement_law_constant
sigcalc.Wien_wavelength_displacement_law_constant
sigcalc.W_to_Z_mass_ratio
Loading

0 comments on commit e40f560

Please sign in to comment.