|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | +""" |
| 3 | +""" |
| 4 | +from __future__ import absolute_import |
| 5 | + |
| 6 | +#import math as _math |
| 7 | +from .utils import _cd |
| 8 | +from quantities.unitquantity import UnitConstant |
| 9 | + |
| 10 | + |
| 11 | +Bohr_magneton_in_eV_per_T = UnitConstant( |
| 12 | + 'Bohr_magneton_in_eV_per_T', |
| 13 | + _cd('Bohr magneton in eV/T') |
| 14 | +) |
| 15 | +Bohr_magneton_in_Hz_per_T = UnitConstant( |
| 16 | + 'Bohr_magneton_in_Hz_per_T', |
| 17 | + _cd('Bohr magneton in Hz/T') |
| 18 | +) |
| 19 | +Bohr_magneton_in_inverse_meters_per_tesla = UnitConstant( |
| 20 | + 'Bohr_magneton_in_inverse_meters_per_tesla', |
| 21 | + _cd('Bohr magneton in inverse meters per tesla') |
| 22 | +) |
| 23 | +Bohr_magneton_in_K_per_T = UnitConstant( |
| 24 | + 'Bohr_magneton_in_K_per_T', |
| 25 | + _cd('Bohr magneton in K/T') |
| 26 | +) |
| 27 | +Boltzmann_constant_in_eV_per_K = UnitConstant( |
| 28 | + 'Boltzmann_constant_in_eV_per_K', |
| 29 | + _cd('Boltzmann constant in eV/K') |
| 30 | +) |
| 31 | +Boltzmann_constant_in_Hz_per_K = UnitConstant( |
| 32 | + 'Boltzmann_constant_in_Hz_per_K', |
| 33 | + _cd('Boltzmann constant in Hz/K') |
| 34 | +) |
| 35 | +Boltzmann_constant_in_inverse_meters_per_kelvin = UnitConstant( |
| 36 | + 'Boltzmann_constant_in_inverse_meters_per_kelvin', |
| 37 | + _cd('Boltzmann constant in inverse meters per kelvin') |
| 38 | +) |
| 39 | +Hartree_energy_in_eV = UnitConstant( |
| 40 | + 'Hartree_energy_in_eV', |
| 41 | + _cd('Hartree energy in eV') |
| 42 | +) |
| 43 | +natural_unit_of_action_in_eV_s = UnitConstant( |
| 44 | + 'natural_unit_of_action_in_eV_s', |
| 45 | + _cd('natural unit of action in eV s') |
| 46 | +) |
| 47 | +natural_unit_of_energy_in_MeV = UnitConstant( |
| 48 | + 'natural_unit_of_energy_in_MeV', |
| 49 | + _cd('natural unit of energy in MeV') |
| 50 | +) |
| 51 | +natural_unit_of_momentum_in_MeV_per_c = UnitConstant( |
| 52 | + 'natural_unit_of_momentum_in_MeV_per_c', |
| 53 | + _cd('natural unit of momentum in MeV/c') |
| 54 | +) |
| 55 | +nuclear_magneton_in_eV_per_T = UnitConstant( |
| 56 | + 'nuclear_magneton_in_eV_per_T', |
| 57 | + _cd('nuclear magneton in eV/T') |
| 58 | +) |
| 59 | +nuclear_magneton_in_inverse_meters_per_tesla = UnitConstant( |
| 60 | + 'nuclear_magneton_in_inverse_meters_per_tesla', |
| 61 | + _cd('nuclear magneton in inverse meters per tesla') |
| 62 | +) |
| 63 | +nuclear_magneton_in_K_per_T = UnitConstant( |
| 64 | + 'nuclear_magneton_in_K_per_T', |
| 65 | + _cd('nuclear magneton in K/T') |
| 66 | +) |
| 67 | +nuclear_magneton_in_MHz_per_T = UnitConstant( |
| 68 | + 'nuclear_magneton_in_MHz_per_T', |
| 69 | + _cd('nuclear magneton in MHz/T') |
| 70 | +) |
| 71 | +Planck_constant_in_eV_s = UnitConstant( |
| 72 | + 'Planck_constant_in_eV_s', |
| 73 | + _cd('Planck constant in eV s') |
| 74 | +) |
| 75 | +Rydberg_constant_times_c_in_Hz = UnitConstant( |
| 76 | + 'Rydberg_constant_times_c_in_Hz', |
| 77 | + _cd('Rydberg constant times c in Hz') |
| 78 | +) |
| 79 | +Rydberg_constant_times_hc_in_eV = UnitConstant( |
| 80 | + 'Rydberg_constant_times_hc_in_eV', |
| 81 | + _cd('Rydberg constant times hc in eV') |
| 82 | +) |
| 83 | +Rydberg_constant_times_hc_in_J = UnitConstant( |
| 84 | + 'Rydberg_constant_times_hc_in_J', |
| 85 | + _cd('Rydberg constant times hc in J'), |
| 86 | + symbol='(R_infinity*h*c)', |
| 87 | + u_symbol='(R_∞·h·c)' |
| 88 | +) |
| 89 | + |
| 90 | +del UnitConstant, _cd |
0 commit comments