from enum import Enum class PhysicsConstantName(str, Enum): """The valid types of phys constant names.""" # noqa: E501 """# pi - Ratio of a circle's circumference to its diameter. """ # noqa: E501 PI = "pi" """# c - Speed of light in vacuum. """ # noqa: E501 C = "c" """# Speed of light in a vacuum. """ # noqa: E501 SPEED_OF_LIGHT = "speed_of_light" """# G - Newtonian constant of gravitation. """ # noqa: E501 G = "G" """# Newtonian constant of gravitation. """ # noqa: E501 NEWTONIAN_GRAVITATION = "newtonian_gravitation" """# h - Planck constant. """ # noqa: E501 H = "h" """# Planck constant. """ # noqa: E501 PLANCK_CONST = "planck_const" """# mu_0 - vacuum permeability. """ # noqa: E501 MU_0 = "mu_0" """# vacuum permeability. """ # noqa: E501 VACUUM_PERMEABILITY = "vacuum_permeability" """# ε_0 - vacuum permitivity. """ # noqa: E501 E_0 = "E_0" """# vacuum permitivity. ] """ # noqa: E501 VACUUM_PERMITIVITY = "vacuum_permitivity" """# Z_0 - characteristic impedance of vacuum. """ # noqa: E501 Z_0 = "Z_0" """# characteristic impedance of vacuum. """ # noqa: E501 VACUUM_IMPEDANCE = "vacuum_impedance" """# k_e - Coulomb's constant. """ # noqa: E501 K_E = "k_e" """# Coulomb's constant. """ # noqa: E501 COULOMB_CONST = "coulomb_const" """# e - elementary charge. """ # noqa: E501 E = "e" """# elementary charge. """ # noqa: E501 ELEMENTARY_CHARGE = "elementary_charge" """# m_e - electron mass. """ # noqa: E501 M_E = "m_e" """# electron mass. """ # noqa: E501 ELECTRON_MASS = "electron_mass" """# m_p - proton mass. """ # noqa: E501 M_P = "m_p" """# proton mass. """ # noqa: E501 PROTON_MASS = "proton_mass" """# mu_B - Bohr magneton. """ # noqa: E501 MU_B = "mu_B" """# Bohr magneton. """ # noqa: E501 BOHR_MAGNETON = "bohr_magneton" """# NA - Avogadro's Number. """ # noqa: E501 NA = "NA" """# Avogadro's Number. """ # noqa: E501 AVOGADRO_NUM = "avogadro_num" """# R - Molar Gas constant. """ # noqa: E501 R = "R" """# Molar Gas constant. """ # noqa: E501 MOLAR_GAS_CONST = "molar_gas_const" """# K_B - Boltzmann constant. """ # noqa: E501 K_B = "K_B" """# Boltzmann constant. """ # noqa: E501 BOLTZMANN_CONST = "boltzmann_const" """# F - Faraday constant. """ # noqa: E501 F = "F" """# Faraday constant. """ # noqa: E501 FARADAY_CONST = "faraday_const" """# Sigma - Stefan-Boltzmann constant. """ # noqa: E501 SIGMA = "sigma" """# Stefan-Boltzmann constant. """ # noqa: E501 STEFAN_BOLTZMANN_CONST = "stefan_boltzmann_const" def __str__(self) -> str: return str(self.value)