| |
| |
| |
|
|
| from scipy._lib.deprecation import _sub_module_deprecation |
|
|
|
|
| __all__ = [ |
| 'Avogadro', 'Boltzmann', 'Btu', 'Btu_IT', 'Btu_th', 'G', |
| 'Julian_year', 'N_A', 'Planck', 'R', 'Rydberg', |
| 'Stefan_Boltzmann', 'Wien', 'acre', 'alpha', |
| 'angstrom', 'arcmin', 'arcminute', 'arcsec', |
| 'arcsecond', 'astronomical_unit', 'atm', |
| 'atmosphere', 'atomic_mass', 'atto', 'au', 'bar', |
| 'barrel', 'bbl', 'blob', 'c', 'calorie', |
| 'calorie_IT', 'calorie_th', 'carat', 'centi', |
| 'convert_temperature', 'day', 'deci', 'degree', |
| 'degree_Fahrenheit', 'deka', 'dyn', 'dyne', 'e', |
| 'eV', 'electron_mass', 'electron_volt', |
| 'elementary_charge', 'epsilon_0', 'erg', |
| 'exa', 'exbi', 'femto', 'fermi', 'fine_structure', |
| 'fluid_ounce', 'fluid_ounce_US', 'fluid_ounce_imp', |
| 'foot', 'g', 'gallon', 'gallon_US', 'gallon_imp', |
| 'gas_constant', 'gibi', 'giga', 'golden', 'golden_ratio', |
| 'grain', 'gram', 'gravitational_constant', 'h', 'hbar', |
| 'hectare', 'hecto', 'horsepower', 'hour', 'hp', |
| 'inch', 'k', 'kgf', 'kibi', 'kilo', 'kilogram_force', |
| 'kmh', 'knot', 'lambda2nu', 'lb', 'lbf', |
| 'light_year', 'liter', 'litre', 'long_ton', 'm_e', |
| 'm_n', 'm_p', 'm_u', 'mach', 'mebi', 'mega', |
| 'metric_ton', 'micro', 'micron', 'mil', 'mile', |
| 'milli', 'minute', 'mmHg', 'mph', 'mu_0', 'nano', |
| 'nautical_mile', 'neutron_mass', 'nu2lambda', |
| 'ounce', 'oz', 'parsec', 'pebi', 'peta', |
| 'pi', 'pico', 'point', 'pound', 'pound_force', |
| 'proton_mass', 'psi', 'pt', 'short_ton', |
| 'sigma', 'slinch', 'slug', 'speed_of_light', |
| 'speed_of_sound', 'stone', 'survey_foot', |
| 'survey_mile', 'tebi', 'tera', 'ton_TNT', |
| 'torr', 'troy_ounce', 'troy_pound', 'u', |
| 'week', 'yard', 'year', 'yobi', 'yocto', |
| 'yotta', 'zebi', 'zepto', 'zero_Celsius', 'zetta' |
| ] |
|
|
|
|
| def __dir__(): |
| return __all__ |
|
|
|
|
| def __getattr__(name): |
| return _sub_module_deprecation(sub_package="constants", module="constants", |
| private_modules=["_constants"], all=__all__, |
| attribute=name) |
|
|