ARTS 2.5.11 (git: 6827797f)
|
Namespace containing several practical unit conversions, physical and mathematical. More...
Functions | |
constexpr auto | deg2rad (auto x) noexcept |
Converts degrees to radians. | |
constexpr auto | rad2deg (auto x) noexcept |
Converts radians to degrees. | |
auto | cosd (auto x) noexcept |
Returns the cosine of the deg2rad of the input. | |
auto | sind (auto x) noexcept |
Returns the sine of the deg2rad of the input. | |
auto | tand (auto x) noexcept |
Returns the tangent of the deg2rad of the input. | |
auto | acosd (auto x) noexcept |
Returns rad2deg of the arc-cosine of the input. | |
auto | asind (auto x) noexcept |
Returns rad2deg of the arc-sine of the input. | |
auto | atand (auto x) noexcept |
Returns rad2deg of the arc-tangent of the input. | |
auto | atan2d (auto y, auto x) noexcept |
Returns rad2deg of the arc-tangent of inputs #T1/#T2 | |
constexpr auto | kaycm2freq (auto x) noexcept |
Conversion from Kayser wavenumber to Hz. | |
constexpr auto | freq2kaycm (auto x) noexcept |
Conversion from Hz to Kayser wavenumber. | |
constexpr auto | angcm2freq (auto x) noexcept |
Conversion from Angular wavenumber to Hz. | |
constexpr auto | freq2angcm (auto x) noexcept |
Conversion from Hz to Angular wavenumber. | |
constexpr auto | angfreq2freq (auto x) noexcept |
Conversion from Angular Hz to Hz. | |
constexpr auto | freq2angfreq (auto x) noexcept |
Conversion from Hz to Angular Hz. | |
constexpr auto | wavelen2freq (auto x) noexcept |
Conversion from wavelength to Hz. | |
constexpr auto | freq2wavelen (auto x) noexcept |
Conversion from Hz to wavelength. | |
constexpr auto | hz2ghz (auto x) noexcept |
Conversion from wavelength to Hz. | |
constexpr auto | ghz2hz (auto x) noexcept |
Conversion from Hz to wavelength. | |
constexpr auto | atm2pa (auto x) noexcept |
Conversion from Atm to Pa. | |
constexpr auto | pa2atm (auto x) noexcept |
Conversion from Pa to Atm. | |
constexpr auto | bar2pa (auto x) noexcept |
Conversion from bar to Pa. | |
constexpr auto | pa2bar (auto x) noexcept |
Conversion from Pa to bar. | |
constexpr auto | hpa2pa (auto x) noexcept |
Conversion from hPa to Pa. | |
constexpr auto | pa2hpa (auto x) noexcept |
Conversion from Pa to hPa. | |
constexpr auto | hpa2bar (auto x) noexcept |
Conversion from hPa to bar. | |
constexpr auto | bar2hpa (auto x) noexcept |
Conversion from bar to hPa. | |
constexpr auto | torr2pa (auto x) noexcept |
Conversion from Torr to Pa. | |
constexpr auto | pa2torr (auto x) noexcept |
Conversion from Pa to Torr. | |
constexpr auto | mhz_per_torr2hz_per_pa (auto x) noexcept |
Conversion from MHz/Torr to Hz/Pa. | |
constexpr auto | celsius2kelvin (auto x) noexcept |
Conversion from C to K. | |
constexpr auto | kelvin2celsius (auto x) noexcept |
Conversion from K to C. | |
constexpr auto | kaycm_per_cmsquared2hz_per_msquared (auto x) noexcept |
Conversion from cm-1 per molecule per cm^2 to Hz per molecule per m^2. | |
constexpr auto | hz_per_msquared2kaycm_per_cmsquared (auto x) noexcept |
Conversion from Hz per molecule per m^2 to cm-1 per molecule per cm^2. | |
constexpr auto | kaycm_per_atm2hz_per_pa (auto x) noexcept |
Conversion from cm-1 per atmosphere to Hz per Pascal. | |
constexpr auto | hz_per_pa2kaycm_per_atm (auto x) noexcept |
Conversion from Hz per Pascal to cm-1 per atmosphere. | |
constexpr auto | kaycm2joule (auto x) noexcept |
Conversion from cm-1 to Joule. | |
constexpr auto | hz2joule (auto x) noexcept |
Conversion from MHz to Joule. | |
constexpr auto | mhz2joule (auto x) noexcept |
Conversion from MHz to Joule. | |
constexpr auto | kelvin2joule (auto x) noexcept |
Conversion from Kelvin to Joule. | |
constexpr auto | joule2hz (auto x) noexcept |
Conversion from Hz to Joule. | |
constexpr auto | joule2kaycm (auto x) noexcept |
Conversion from Joule to cm-1. | |
constexpr auto | angstrom2meter (auto x) noexcept |
Conversion from Å to meter. | |
constexpr auto | meter2angstrom (auto x) noexcept |
Conversion from meter to Å | |
Namespace containing several practical unit conversions, physical and mathematical.
|
noexcept |
Returns rad2deg of the arc-cosine of the input.
Definition at line 38 of file arts_conversions.h.
References rad2deg().
Referenced by run_cdisort(), Sample_los(), and Sample_los_uniform().
|
constexprnoexcept |
Conversion from Angular wavenumber to Hz.
Definition at line 56 of file arts_conversions.h.
References Constant::inv_two_pi, and kaycm2freq().
|
constexprnoexcept |
Conversion from Angular Hz to Hz.
Definition at line 66 of file arts_conversions.h.
References Constant::inv_two_pi.
|
constexprnoexcept |
Conversion from Å to meter.
Definition at line 163 of file arts_conversions.h.
References Constant::e.
Referenced by ecs_dataAddMakarov2020(), ecs_dataAddRodrigues1997(), ecs_dataAddTran2006(), and ecs_dataAddTran2011().
|
noexcept |
Returns rad2deg of the arc-sine of the input.
Definition at line 41 of file arts_conversions.h.
References rad2deg().
|
noexcept |
Returns rad2deg of the arc-tangent of inputs #T1/#T2
Definition at line 47 of file arts_conversions.h.
References rad2deg().
Referenced by Legendre::to_geodetic().
|
noexcept |
Returns rad2deg of the arc-tangent of the input.
Definition at line 44 of file arts_conversions.h.
References rad2deg().
|
constexprnoexcept |
Conversion from Atm to Pa.
Definition at line 84 of file arts_conversions.h.
Referenced by hz_per_pa2kaycm_per_atm(), pa2torr(), Absorption::ReadFromHitran2001Stream(), Absorption::ReadFromHitran2004Stream(), Absorption::ReadFromHitranOnlineStream(), Absorption::ReadFromLBLRTMStream(), and torr2pa().
|
constexprnoexcept |
Conversion from bar to hPa.
Definition at line 105 of file arts_conversions.h.
|
constexprnoexcept |
Conversion from bar to Pa.
Definition at line 90 of file arts_conversions.h.
|
constexprnoexcept |
Conversion from C to K.
Definition at line 119 of file arts_conversions.h.
|
noexcept |
Returns the cosine of the deg2rad of the input.
Definition at line 29 of file arts_conversions.h.
References deg2rad().
Referenced by muellersparse_rotation(), particle_bulkpropRadarOnionPeeling(), IGRF::radius(), run_cdisort(), run_cdisort_flux(), scat_angle(), Legendre::schmidt_fieldcalc(), and sorted_index_of_ppath_field().
|
constexprnoexcept |
Converts degrees to radians.
Definition at line 23 of file arts_conversions.h.
References deg2rad(), and Constant::one_degree_in_radians.
Referenced by cosd(), defocusing_general(), defocusing_sat2sat(), deg2rad(), dotprod_with_los(), mueller_rotation(), pha_mat_labCalc(), propmat_clearskyAddOnTheFlyLineMixingWithZeeman(), scat_angle(), sind(), tand(), and zeeman_on_the_fly().
|
constexprnoexcept |
Conversion from Hz to Angular wavenumber.
Definition at line 61 of file arts_conversions.h.
References Constant::inv_two_pi, and kaycm2freq().
|
constexprnoexcept |
Conversion from Hz to Angular Hz.
Definition at line 69 of file arts_conversions.h.
References Constant::two_pi.
|
constexprnoexcept |
Conversion from Hz to Kayser wavenumber.
Definition at line 53 of file arts_conversions.h.
References Constant::c.
Referenced by hz_per_msquared2kaycm_per_cmsquared(), hz_per_pa2kaycm_per_atm(), lm_hitran_2017::read(), and LineShape::si2cgs().
|
constexprnoexcept |
Conversion from Hz to wavelength.
Definition at line 75 of file arts_conversions.h.
References Constant::c.
Referenced by gas_scattering_coefAirSimple(), and refractive_index_water_and_steam_VisNIR().
|
constexprnoexcept |
Conversion from Hz to wavelength.
Definition at line 81 of file arts_conversions.h.
|
constexprnoexcept |
Conversion from hPa to bar.
Definition at line 102 of file arts_conversions.h.
References Constant::e.
|
constexprnoexcept |
Conversion from hPa to Pa.
Definition at line 96 of file arts_conversions.h.
|
constexprnoexcept |
Conversion from wavelength to Hz.
Definition at line 78 of file arts_conversions.h.
References Constant::e.
|
constexprnoexcept |
Conversion from MHz to Joule.
Definition at line 148 of file arts_conversions.h.
References Constant::h.
Referenced by dstimulated_relative_emission_dF0(), dstimulated_relative_emission_dT(), mhz2joule(), and stimulated_relative_emission().
|
constexprnoexcept |
Conversion from Hz per molecule per m^2 to cm-1 per molecule per cm^2.
Definition at line 130 of file arts_conversions.h.
References freq2kaycm().
Referenced by lm_hitran_2017::read().
|
constexprnoexcept |
Conversion from Hz per Pascal to cm-1 per atmosphere.
Definition at line 140 of file arts_conversions.h.
References atm2pa(), and freq2kaycm().
|
constexprnoexcept |
Conversion from Hz to Joule.
Definition at line 157 of file arts_conversions.h.
References Constant::h.
|
constexprnoexcept |
Conversion from Joule to cm-1.
Definition at line 160 of file arts_conversions.h.
References Constant::h, and kaycm2freq().
|
constexprnoexcept |
Conversion from Kayser wavenumber to Hz.
Definition at line 50 of file arts_conversions.h.
References Constant::c.
Referenced by angcm2freq(), lm_hitran_2017::calcw(), freq2angcm(), joule2kaycm(), kaycm2joule(), kaycm_per_atm2hz_per_pa(), kaycm_per_cmsquared2hz_per_msquared(), and lm_hitran_2017::read().
|
constexprnoexcept |
Conversion from cm-1 to Joule.
Definition at line 145 of file arts_conversions.h.
References Constant::h, and kaycm2freq().
Referenced by Absorption::LineMixing::LinearRovibErrorCorrectedSudden::erot_selection(), lm_hitran_2017::read(), and wavenumber_to_joule().
|
constexprnoexcept |
Conversion from cm-1 per atmosphere to Hz per Pascal.
Definition at line 135 of file arts_conversions.h.
References kaycm2freq(), and pa2atm().
Referenced by ecs_dataAddRodrigues1997(), ecs_dataAddTran2006(), ecs_dataAddTran2011(), and lm_hitran_2017::read().
|
constexprnoexcept |
Conversion from cm-1 per molecule per cm^2 to Hz per molecule per m^2.
Definition at line 125 of file arts_conversions.h.
References Constant::e, and kaycm2freq().
Referenced by lm_hitran_2017::read().
|
constexprnoexcept |
Conversion from K to C.
Definition at line 122 of file arts_conversions.h.
|
constexprnoexcept |
Conversion from Kelvin to Joule.
Definition at line 154 of file arts_conversions.h.
References Constant::k.
Referenced by dstimulated_relative_emission_dF0(), dstimulated_relative_emission_dT(), Absorption::LineMixing::Makarov2020etal::relaxation_matrix_offdiagonal(), Absorption::LineMixing::LinearRovibErrorCorrectedSudden::relaxation_matrix_offdiagonal(), and stimulated_relative_emission().
|
constexprnoexcept |
Conversion from meter to Å
Definition at line 166 of file arts_conversions.h.
|
constexprnoexcept |
Conversion from MHz to Joule.
Definition at line 151 of file arts_conversions.h.
References hz2joule().
Referenced by Absorption::LineMixing::Makarov2020etal::erot().
|
constexprnoexcept |
Conversion from MHz/Torr to Hz/Pa.
Definition at line 114 of file arts_conversions.h.
References pa2torr().
|
constexprnoexcept |
Conversion from Pa to Atm.
Definition at line 87 of file arts_conversions.h.
Referenced by kaycm_per_atm2hz_per_pa().
|
constexprnoexcept |
Conversion from Pa to bar.
Definition at line 93 of file arts_conversions.h.
References Constant::e.
|
constexprnoexcept |
Conversion from Pa to hPa.
Definition at line 99 of file arts_conversions.h.
References Constant::e.
|
constexprnoexcept |
Conversion from Pa to Torr.
Definition at line 111 of file arts_conversions.h.
References atm2pa().
Referenced by mhz_per_torr2hz_per_pa().
|
constexprnoexcept |
Converts radians to degrees.
Definition at line 26 of file arts_conversions.h.
References Constant::one_degree_in_radians.
|
noexcept |
Returns the sine of the deg2rad of the input.
Definition at line 32 of file arts_conversions.h.
References deg2rad().
Referenced by muellersparse_rotation(), IGRF::radius(), scat_angle(), and Legendre::schmidt_fieldcalc().
|
noexcept |
Returns the tangent of the deg2rad of the input.
Definition at line 35 of file arts_conversions.h.
References deg2rad().
|
constexprnoexcept |
|
constexprnoexcept |
Conversion from wavelength to Hz.
Definition at line 72 of file arts_conversions.h.
References Constant::c.
Referenced by refractive_index_water_and_steam_VisNIR().