ARTS 2.5.9 (git: 825fa5f2)
arts_conversions.h File Reference

Common ARTS conversions. More...

#include <cmath>
#include "arts_constants.h"

Go to the source code of this file.

Namespaces

namespace  Conversion
 Namespace containing several practical unit conversions, physical and mathematical.
 

Functions

constexpr auto Conversion::deg2rad (auto x) noexcept
 Converts degrees to radians. More...
 
constexpr auto Conversion::rad2deg (auto x) noexcept
 Converts radians to degrees. More...
 
auto Conversion::cosd (auto x) noexcept
 Returns the cosine of the deg2rad of the input. More...
 
auto Conversion::sind (auto x) noexcept
 Returns the sine of the deg2rad of the input. More...
 
auto Conversion::tand (auto x) noexcept
 Returns the tangent of the deg2rad of the input. More...
 
auto Conversion::acosd (auto x) noexcept
 Returns rad2deg of the arc-cosine of the input. More...
 
auto Conversion::asind (auto x) noexcept
 Returns rad2deg of the arc-sine of the input. More...
 
auto Conversion::atand (auto x) noexcept
 Returns rad2deg of the arc-tangent of the input. More...
 
auto Conversion::atan2d (auto y, auto x) noexcept
 Returns rad2deg of the arc-tangent of inputs #T1/#T2
More...
 
constexpr auto Conversion::kaycm2freq (auto x) noexcept
 Conversion from Kayser wavenumber to Hz. More...
 
constexpr auto Conversion::freq2kaycm (auto x) noexcept
 Conversion from Hz to Kayser wavenumber. More...
 
constexpr auto Conversion::angcm2freq (auto x) noexcept
 Conversion from Angular wavenumber to Hz. More...
 
constexpr auto Conversion::freq2angcm (auto x) noexcept
 Conversion from Hz to Angular wavenumber. More...
 
constexpr auto Conversion::angfreq2freq (auto x) noexcept
 Conversion from Angular Hz to Hz. More...
 
constexpr auto Conversion::freq2angfreq (auto x) noexcept
 Conversion from Hz to Angular Hz. More...
 
constexpr auto Conversion::wavelen2freq (auto x) noexcept
 Conversion from wavelength to Hz. More...
 
constexpr auto Conversion::freq2wavelen (auto x) noexcept
 Conversion from Hz to wavelength. More...
 
constexpr auto Conversion::hz2ghz (auto x) noexcept
 Conversion from wavelength to Hz. More...
 
constexpr auto Conversion::ghz2hz (auto x) noexcept
 Conversion from Hz to wavelength. More...
 
constexpr auto Conversion::atm2pa (auto x) noexcept
 Conversion from Atm to Pa. More...
 
constexpr auto Conversion::pa2atm (auto x) noexcept
 Conversion from Pa to Atm. More...
 
constexpr auto Conversion::bar2pa (auto x) noexcept
 Conversion from bar to Pa. More...
 
constexpr auto Conversion::pa2bar (auto x) noexcept
 Conversion from Pa to bar. More...
 
constexpr auto Conversion::torr2pa (auto x) noexcept
 Conversion from Torr to Pa. More...
 
constexpr auto Conversion::pa2torr (auto x) noexcept
 Conversion from Pa to Torr. More...
 
constexpr auto Conversion::mhz_per_torr2hz_per_pa (auto x) noexcept
 Conversion from MHz/Torr to Hz/Pa. More...
 
constexpr auto Conversion::celsius2kelvin (auto x) noexcept
 Conversion from C to K. More...
 
constexpr auto Conversion::kelvin2celsius (auto x) noexcept
 Conversion from K to C. More...
 
constexpr auto Conversion::kaycm_per_cmsquared2hz_per_msquared (auto x) noexcept
 Conversion from cm-1 per molecule per cm^2 to Hz per molecule per m^2. More...
 
constexpr auto Conversion::hz_per_msquared2kaycm_per_cmsquared (auto x) noexcept
 Conversion from Hz per molecule per m^2 to cm-1 per molecule per cm^2. More...
 
constexpr auto Conversion::kaycm_per_atm2hz_per_pa (auto x) noexcept
 Conversion from cm-1 per atmosphere to Hz per Pascal. More...
 
constexpr auto Conversion::hz_per_pa2kaycm_per_atm (auto x) noexcept
 Conversion from Hz per Pascal to cm-1 per atmosphere. More...
 
constexpr auto Conversion::kaycm2joule (auto x) noexcept
 Conversion from cm-1 to Joule. More...
 
constexpr auto Conversion::hz2joule (auto x) noexcept
 Conversion from MHz to Joule. More...
 
constexpr auto Conversion::mhz2joule (auto x) noexcept
 Conversion from MHz to Joule. More...
 
constexpr auto Conversion::kelvin2joule (auto x) noexcept
 Conversion from Kelvin to Joule. More...
 
constexpr auto Conversion::joule2hz (auto x) noexcept
 Conversion from Hz to Joule. More...
 
constexpr auto Conversion::joule2kaycm (auto x) noexcept
 Conversion from Joule to cm-1. More...
 
constexpr auto Conversion::angstrom2meter (auto x) noexcept
 Conversion from Å to meter. More...
 
constexpr auto Conversion::meter2angstrom (auto x) noexcept
 Conversion from meter to Å More...
 

Detailed Description

Common ARTS conversions.

Where possible these are going to

Author
Richard Larsson
Date
2019-04-01

Definition in file arts_conversions.h.