ARTS
2.2.66
|
This file contains global constants. More...
Go to the source code of this file.
Variables | |
const Numeric | ATM2PA = 1.01325e5 |
Global constant, converts atm to Pa. More... | |
const Numeric | AVOGADROS_NUMB = 6.0220450e26 |
Global constant, the Avogadro's number [molec/kg]. More... | |
const Numeric | BOHR_MAGNETON = 9.27400968e-24 |
Bohr Magneton. More... | |
const Numeric | BOLTZMAN_CONST = 1.380662e-23 |
Global constant, the Boltzmann constant [J/K]. More... | |
const Numeric | COSMIC_BG_TEMP = 2.735 |
Global constant, Planck temperature for cosmic background radiation [K]. More... | |
const Numeric | DEG2RAD = 0.017453292519943 |
Global constant, conversion from degrees to radians. More... | |
const Numeric | EARTH_RADIUS = 6.3781e6 |
Global constant, the radius of the Earth [m]. More... | |
const Numeric | ELECTRON_CHARGE = -1.602176565e-19 |
Global constant, the charge of an electron [As] N.B. More... | |
const Numeric | ELECTRON_MASS = 9.10938291e-31 |
Global constant, the mass of an electron [kg]. More... | |
const Numeric | EULER_NUMBER = 2.7182818284590452 |
Global constant, e (Euler's number) More... | |
const Numeric | GAS_CONSTANT = 8.3144621 |
Global constant, universal gas constant. More... | |
const Numeric | LANDE_GS = 2.0023193043622 |
Lande factor gs. More... | |
const Numeric | LOG10_EULER_NUMBER = 0.43429448190325176 |
Global constant, log10(Euler's number) More... | |
const Numeric | NAT_LOG_TEN = 2.3025850929940459 |
Global constant, ln(10) More... | |
const Numeric | NAT_LOG_2 = 0.69314718055994 |
Global constant, ln(2) More... | |
const Numeric | PI = 3.141592653589793 |
Global constant, pi. More... | |
const Numeric | PLANCK_CONST = 6.626180e-34 |
Global constant, the Planck constant [Js]. More... | |
const Numeric | RAD2DEG = 57.295779513082323 |
Global constant, conversion from radians to degrees. More... | |
const Numeric | SPEED_OF_LIGHT = 2.99792458e8 |
Global constant, speed of light in vaccum [m/s]. More... | |
const Numeric | HZ2CM = 0.01 / SPEED_OF_LIGHT |
Global constant, converts Hz to cm-1. More... | |
const Numeric | SQRT_NAT_LOG_2 = 0.832554611 |
Global constant, sqrt(ln(2)) More... | |
const Numeric | TEMP_0_C = 273.15 |
Global constant, Temperature in Celsius of 0 Kelvin. More... | |
const Numeric | TORR2PA = 133.3227 |
Global constant, converts torr to Pa. More... | |
const Numeric | VACUUM_PERMITTIVITY = 8.854187817620e-12 |
Global constant, the vacuum permittivity [F m-1]. More... | |
const Index | GFIELD1_F_GRID = 0 |
Global constant, Index of the frequency grid in GriddedField1. More... | |
const Index | GFIELD3_P_GRID = 0 |
Global constant, Index of the pressure grid in GriddedField3. More... | |
const Index | GFIELD3_LAT_GRID = 1 |
Global constant, Index of the latitude grid in GriddedField3. More... | |
const Index | GFIELD3_LON_GRID = 2 |
Global constant, Index of the longitude grid in GriddedField3. More... | |
const Index | GFIELD4_FIELD_NAMES = 0 |
Global constant, Index of the field names in GriddedField4. More... | |
const Index | GFIELD4_IA_GRID = 0 |
Global constant, Index of incidence angles in GriddedField4. More... | |
const Index | GFIELD4_P_GRID = 1 |
Global constant, Index of the pressure grid in GriddedField4. More... | |
const Index | GFIELD4_F_GRID = 1 |
Global constant, Index of the frequency grid in GriddedField4. More... | |
const Index | GFIELD4_LAT_GRID = 2 |
Global constant, Index of the latitude grid in GriddedField4. More... | |
const Index | GFIELD4_ZA_GRID = 2 |
Global constant, Index of the zenith angle grid in GriddedField4. More... | |
const Index | GFIELD4_LON_GRID = 3 |
Global constant, Index of the longitude grid in GriddedField4. More... | |
const Index | GFIELD4_AA_GRID = 3 |
Global constant, Index of the azimuth angle grid in GriddedField4. More... | |
const String | ABSSPECIES_MAINTAG = "Absorption species" |
const String | FREQUENCY_MAINTAG = "Frequency" |
const String | FREQUENCY_SUBTAG_0 = "Shift" |
const String | FREQUENCY_SUBTAG_1 = "Stretch" |
const String | POINTING_MAINTAG = "Sensor pointing" |
const String | POINTING_SUBTAG_A = "Zenith angle off-set" |
const String | POINTING_CALCMODE_A = "Recalculate iyb" |
const String | POINTING_CALCMODE_B = "Interpolate iyb" |
const String | POLYFIT_MAINTAG = "Polynomial baseline fit" |
const String | SINEFIT_MAINTAG = "Sinusoidal baseline fit" |
const String | TEMPERATURE_MAINTAG = "Atmospheric temperatures" |
const String | WIND_MAINTAG = "Wind" |
This file contains global constants.
You can use them anywhere by declaring them as in the following example:
extern const Numeric PI;
See for example the National Institute of Standards and Technology (NIST) home page for the values of specific constants.
Definition in file constants.cc.
const String ABSSPECIES_MAINTAG = "Absorption species" |
const Numeric ATM2PA = 1.01325e5 |
Global constant, converts atm to Pa.
Multiply your value in atm by this constant to get the value in Pa.
Referenced by LineRecord::ReadFromHitran2001Stream(), and LineRecord::ReadFromHitran2004Stream().
const Numeric AVOGADROS_NUMB = 6.0220450e26 |
const Numeric BOHR_MAGNETON = 9.27400968e-24 |
Bohr Magneton.
const Numeric BOLTZMAN_CONST = 1.380662e-23 |
Global constant, the Boltzmann constant [J/K].
Referenced by lineshape_norm_VVH(), MCIPA(), xsec_continuum_tag(), and xsec_species().
const Numeric COSMIC_BG_TEMP = 2.735 |
Global constant, Planck temperature for cosmic background radiation [K].
const Numeric DEG2RAD = 0.017453292519943 |
Global constant, conversion from degrees to radians.
Multiply your value in degrees by this constant to get the value in radians.
Referenced by cart2poslos(), defocusing_general(), defocusing_sat2sat(), dotprod_with_los(), interp_scat_angle_temperature(), lat_crossing_3d(), lon_crossing_3d(), mcPathTraceIPA(), raytrace_1d_linear_basic(), and za_geom2other_point().
const Numeric EARTH_RADIUS = 6.3781e6 |
Global constant, the radius of the Earth [m].
const Numeric ELECTRON_CHARGE = -1.602176565e-19 |
Global constant, the charge of an electron [As] N.B.
this is a negative number.
const Numeric ELECTRON_MASS = 9.10938291e-31 |
Global constant, the mass of an electron [kg].
const Numeric EULER_NUMBER = 2.7182818284590452 |
Global constant, e (Euler's number)
const String FREQUENCY_MAINTAG = "Frequency" |
const String FREQUENCY_SUBTAG_0 = "Shift" |
const String FREQUENCY_SUBTAG_1 = "Stretch" |
const Numeric GAS_CONSTANT = 8.3144621 |
Global constant, universal gas constant.
const Index GFIELD1_F_GRID = 0 |
Global constant, Index of the frequency grid in GriddedField1.
const Index GFIELD3_LAT_GRID = 1 |
Global constant, Index of the latitude grid in GriddedField3.
const Index GFIELD3_LON_GRID = 2 |
Global constant, Index of the longitude grid in GriddedField3.
const Index GFIELD3_P_GRID = 0 |
Global constant, Index of the pressure grid in GriddedField3.
const Index GFIELD4_AA_GRID = 3 |
Global constant, Index of the azimuth angle grid in GriddedField4.
const Index GFIELD4_F_GRID = 1 |
Global constant, Index of the frequency grid in GriddedField4.
const Index GFIELD4_FIELD_NAMES = 0 |
Global constant, Index of the field names in GriddedField4.
const Index GFIELD4_IA_GRID = 0 |
Global constant, Index of incidence angles in GriddedField4.
const Index GFIELD4_LAT_GRID = 2 |
Global constant, Index of the latitude grid in GriddedField4.
const Index GFIELD4_LON_GRID = 3 |
Global constant, Index of the longitude grid in GriddedField4.
const Index GFIELD4_P_GRID = 1 |
Global constant, Index of the pressure grid in GriddedField4.
const Index GFIELD4_ZA_GRID = 2 |
Global constant, Index of the zenith angle grid in GriddedField4.
const Numeric HZ2CM = 0.01 / SPEED_OF_LIGHT |
Global constant, converts Hz to cm-1.
Multiply your value in Hz by this constant to get the value in cm-1.
Referenced by chi_cousin().
const Numeric LANDE_GS = 2.0023193043622 |
Lande factor gs.
const Numeric LOG10_EULER_NUMBER = 0.43429448190325176 |
Global constant, log10(Euler's number)
const Numeric NAT_LOG_2 = 0.69314718055994 |
Global constant, ln(2)
const Numeric NAT_LOG_TEN = 2.3025850929940459 |
Global constant, ln(10)
const Numeric PI = 3.141592653589793 |
Global constant, pi.
const Numeric PLANCK_CONST = 6.626180e-34 |
Global constant, the Planck constant [Js].
Referenced by lineshape_norm_VVH(), wavenumber_to_joule(), and xsec_species().
const String POINTING_CALCMODE_A = "Recalculate iyb" |
const String POINTING_CALCMODE_B = "Interpolate iyb" |
const String POINTING_MAINTAG = "Sensor pointing" |
const String POINTING_SUBTAG_A = "Zenith angle off-set" |
const String POLYFIT_MAINTAG = "Polynomial baseline fit" |
const Numeric RAD2DEG = 57.295779513082323 |
Global constant, conversion from radians to degrees.
Multiply your value in radians by this constant to get the value in degrees.
Referenced by cart2poslos(), cart2sph(), interp_scat_angle_temperature(), lat_crossing_3d(), lon_crossing_3d(), Sample_los(), and za_geom2other_point().
const String SINEFIT_MAINTAG = "Sinusoidal baseline fit" |
const Numeric SPEED_OF_LIGHT = 2.99792458e8 |
Global constant, speed of light in vaccum [m/s].
const Numeric SQRT_NAT_LOG_2 = 0.832554611 |
Global constant, sqrt(ln(2))
const Numeric TEMP_0_C = 273.15 |
Global constant, Temperature in Celsius of 0 Kelvin.
const String TEMPERATURE_MAINTAG = "Atmospheric temperatures" |
const Numeric TORR2PA = 133.3227 |
Global constant, converts torr to Pa.
Multiply your value in torr by this constant to get the value in Pa.
Referenced by LineRecord::ReadFromMytran2Stream().
const Numeric VACUUM_PERMITTIVITY = 8.854187817620e-12 |
Global constant, the vacuum permittivity [F m-1].
The constant is also know the permittivity of free space or electric constant.
const String WIND_MAINTAG = "Wind" |