ARTS  2.3.1285(git:92a29ea9-dirty)
Conversion Namespace Reference

Namespace containing several practical unit conversions, physical and mathematical. More...

Functions

template<class T >
constexpr Numeric deg2rad (T x)
 Converts degrees to radians. More...
 
template<class T >
constexpr Numeric rad2deg (T x)
 Converts radians to degrees. More...
 
template<class T >
Numeric cosd (T x)
 Returns the cosine of the deg2rad of the input. More...
 
template<class T >
Numeric sind (T x)
 Returns the sine of the deg2rad of the input. More...
 
template<class T >
Numeric tand (T x)
 Returns the tangent of the deg2rad of the input. More...
 
template<class T >
Numeric acosd (T x)
 Returns rad2deg of the arc-cosine of the input. More...
 
template<class T >
Numeric asind (T x)
 Returns rad2deg of the arc-sine of the input. More...
 
template<class T >
Numeric atand (T x)
 Returns rad2deg of the arc-tangent of the input. More...
 
template<class T1 , class T2 >
Numeric atan2d (T1 y, T2 x)
 Returns rad2deg of the arc-tangent of inputs #T1/#T2. More...
 
template<class T >
constexpr Numeric kaycm2freq (T x)
 
template<class T >
constexpr Numeric freq2kaycm (T x)
 
template<class T >
constexpr Numeric angcm2freq (T x)
 
template<class T >
constexpr Numeric freq2angcm (T x)
 
template<class T >
constexpr Numeric angfreq2freq (T x)
 Conversion constant Angular frequency to frequency and back. More...
 
template<class T >
constexpr Numeric freq2angfreq (T x)
 
template<class T >
constexpr Numeric wavelen2freq (T x)
 Conversion wavelength to frequency and back. More...
 
template<class T >
constexpr Numeric freq2wavelen (T x)
 
template<class T >
constexpr Numeric atm2pa (T x)
 
template<class T >
constexpr Numeric pa2atm (T x)
 
template<class T >
constexpr Numeric torr2pa (T x)
 
template<class T >
constexpr Numeric pa2torr (T x)
 
template<class T >
constexpr Numeric celsius2kelvin (T x)
 
template<class T >
constexpr Numeric kelvin2celsius (T x)
 
template<class T >
constexpr T hitran2arts_linestrength (T x)
 
template<class T >
constexpr T arts2hitran_linestrength (T x)
 
template<class T >
constexpr T hitran2arts_broadening (T x)
 
template<class T >
constexpr T arts2hitran_broadening (T x)
 
template<class T >
constexpr T hitran2arts_energy (T x)
 
template<class T >
constexpr T arts2hitran_energy (T x)
 
template<class T >
constexpr T angstrom2meter (T x)
 
template<class T >
constexpr T meter2angstrom (T x)
 

Detailed Description

Namespace containing several practical unit conversions, physical and mathematical.

Function Documentation

◆ acosd()

template<class T >
Numeric Conversion::acosd ( x)

Returns rad2deg of the arc-cosine of the input.

Definition at line 357 of file constants.h.

References rad2deg().

◆ angcm2freq()

template<class T >
constexpr Numeric Conversion::angcm2freq ( x)

Definition at line 395 of file constants.h.

◆ angfreq2freq()

template<class T >
constexpr Numeric Conversion::angfreq2freq ( x)

Conversion constant Angular frequency to frequency and back.

Definition at line 405 of file constants.h.

◆ angstrom2meter()

template<class T >
constexpr T Conversion::angstrom2meter ( x)

Definition at line 495 of file constants.h.

Referenced by o2_ecs_adiabatic_factor_makarov().

◆ arts2hitran_broadening()

template<class T >
constexpr T Conversion::arts2hitran_broadening ( x)

Definition at line 478 of file constants.h.

◆ arts2hitran_energy()

template<class T >
constexpr T Conversion::arts2hitran_energy ( x)

Definition at line 490 of file constants.h.

◆ arts2hitran_linestrength()

template<class T >
constexpr T Conversion::arts2hitran_linestrength ( x)

Definition at line 466 of file constants.h.

◆ asind()

template<class T >
Numeric Conversion::asind ( x)

Returns rad2deg of the arc-sine of the input.

Definition at line 363 of file constants.h.

References rad2deg().

◆ atan2d()

template<class T1 , class T2 >
Numeric Conversion::atan2d ( T1  y,
T2  x 
)

Returns rad2deg of the arc-tangent of inputs #T1/#T2.

Definition at line 375 of file constants.h.

References rad2deg().

◆ atand()

template<class T >
Numeric Conversion::atand ( x)

Returns rad2deg of the arc-tangent of the input.

Definition at line 369 of file constants.h.

References rad2deg().

◆ atm2pa()

template<class T >
constexpr Numeric Conversion::atm2pa ( x)

Definition at line 427 of file constants.h.

References ATM2PA.

Referenced by test_hitran2017().

◆ celsius2kelvin()

template<class T >
constexpr Numeric Conversion::celsius2kelvin ( x)

Definition at line 450 of file constants.h.

◆ cosd()

template<class T >
Numeric Conversion::cosd ( x)

Returns the cosine of the deg2rad of the input.

Definition at line 339 of file constants.h.

References deg2rad().

◆ deg2rad()

template<class T >
constexpr Numeric Conversion::deg2rad ( x)

Converts degrees to radians.

Definition at line 327 of file constants.h.

Referenced by cosd(), sind(), tand(), and zeeman_on_the_fly().

◆ freq2angcm()

template<class T >
constexpr Numeric Conversion::freq2angcm ( x)

Definition at line 399 of file constants.h.

◆ freq2angfreq()

template<class T >
constexpr Numeric Conversion::freq2angfreq ( x)

Definition at line 409 of file constants.h.

◆ freq2kaycm()

template<class T >
constexpr Numeric Conversion::freq2kaycm ( x)

◆ freq2wavelen()

template<class T >
constexpr Numeric Conversion::freq2wavelen ( x)

Definition at line 419 of file constants.h.

References ATM2PA.

◆ hitran2arts_broadening()

template<class T >
constexpr T Conversion::hitran2arts_broadening ( x)

Definition at line 474 of file constants.h.

◆ hitran2arts_energy()

template<class T >
constexpr T Conversion::hitran2arts_energy ( x)

Definition at line 486 of file constants.h.

◆ hitran2arts_linestrength()

template<class T >
constexpr T Conversion::hitran2arts_linestrength ( x)

◆ kaycm2freq()

template<class T >
constexpr Numeric Conversion::kaycm2freq ( x)

Definition at line 383 of file constants.h.

Referenced by test_hitran2017().

◆ kelvin2celsius()

template<class T >
constexpr Numeric Conversion::kelvin2celsius ( x)

Definition at line 454 of file constants.h.

◆ meter2angstrom()

template<class T >
constexpr T Conversion::meter2angstrom ( x)

Definition at line 499 of file constants.h.

◆ pa2atm()

template<class T >
constexpr Numeric Conversion::pa2atm ( x)

Definition at line 431 of file constants.h.

◆ pa2torr()

template<class T >
constexpr Numeric Conversion::pa2torr ( x)

Definition at line 443 of file constants.h.

◆ rad2deg()

template<class T >
constexpr Numeric Conversion::rad2deg ( x)

Converts radians to degrees.

Definition at line 333 of file constants.h.

Referenced by acosd(), asind(), atan2d(), and atand().

◆ sind()

template<class T >
Numeric Conversion::sind ( x)

Returns the sine of the deg2rad of the input.

Definition at line 345 of file constants.h.

References deg2rad().

◆ tand()

template<class T >
Numeric Conversion::tand ( x)

Returns the tangent of the deg2rad of the input.

Definition at line 351 of file constants.h.

References deg2rad().

◆ torr2pa()

template<class T >
constexpr Numeric Conversion::torr2pa ( x)

Definition at line 439 of file constants.h.

◆ wavelen2freq()

template<class T >
constexpr Numeric Conversion::wavelen2freq ( x)

Conversion wavelength to frequency and back.

Definition at line 415 of file constants.h.