ARTS 2.5.11 (git: 725533f0)
|
Namespaces | |
namespace | parameters |
Classes | |
struct | CommonBlock |
struct | ConvTPOut |
struct | Sorter |
Typedefs | |
using | EqvLinesOut = Absorption::LineMixing::EquivalentLines |
Enumerations | |
enum class | calctype { FullVP , FullRosenkranz , FullW , SDVP , SDRosenkranz , SDW , NoneVP , NoneRosenkranz , NoneW } |
Functions | |
Rational | toRationalSum (char a, char b=' ') |
void | readlines (CommonBlock &cmn, const String &basedir="data_new/") |
template<size_t NT> | |
Numeric | atob (const Numeric &aa, const std::array< Numeric, NT > &a, const std::array< Numeric, NT > &b) |
void | qt_co2 (const Numeric &t, const Index &iso, Numeric &gsi, Numeric &qt) |
void | calcw (CommonBlock &cmn, const Index &n, const Index &iband, const Numeric &temp) |
Sorter | sorter_calcw (ConvTPOut &out, const AbsorptionLines &band, const bool at_t0) |
void | calcw (ConvTPOut &out, const HitranRelaxationMatrixData &hitran, const AbsorptionLines &band, const Numeric T, const bool at_t0=false) |
void | eqvlines (CommonBlock &cmn, const Index &iband, const Index &n, const Numeric &sigmoy) |
EqvLinesOut | eqvlines (const ComplexMatrix &W, const Vector &pop, const Vector &dip, const Numeric &fmean) |
void | convtp (CommonBlock &cmn, const Index &iband, const Index &isotc, const Index &nlinec, const Numeric &xh2o, const Numeric &xco2, const Numeric &temp, const Numeric &ptot, Numeric &sigmoy, Numeric &gamd_gam0_mx, const bool mixfull, const bool mixsdv) |
ConvTPOut | convtp (const Vector &vmrs, const HitranRelaxationMatrixData &hitran, const AbsorptionLines &band, const Numeric T, const Numeric P) |
void | qsdv (const Numeric &sg0, const Numeric &gamd, const Numeric &gam0, const Numeric &gam2, const Numeric &shift0, const Numeric &shift2, const Numeric &sg, Numeric &ls_qsdv_r, Numeric &ls_qsdv_i) |
Complex | qsdv_si (const Numeric F0, const Numeric gamd, const Numeric gam0, const Numeric gam2, const Numeric shift0, const Numeric shift2, const Numeric f) |
void | compabs (CommonBlock &cmn, const Numeric &temp, const Numeric &ptot, const Numeric &xco2, const Numeric &xh2o, const Vector &invcm_grid, const bool mixsdv, const bool mixfull, VectorView absv, VectorView absy, VectorView absw) |
Vector | compabs (const Numeric T, const Numeric P, const HitranRelaxationMatrixData &hitran, const ArrayOfAbsorptionLines &bands, const SpeciesIsotopologueRatios &isotopologue_ratio, const Vector &vmrs, const Vector &f_grid) |
void | detband (CommonBlock &cmn, const Numeric &sgminr, const Numeric &sgmaxr, const Numeric &stotmax, const String &basedir="data_new/") |
void | readw (CommonBlock &cmn, const String &basedir="data_new/") |
Vector | compute (const Numeric p, const Numeric t, const Numeric xco2, const Numeric xh2o, const Vector &invcm_grid, const Numeric stotmax, const calctype type) |
Vector | compute (const HitranRelaxationMatrixData &hitran, const ArrayOfAbsorptionLines &bands, const SpeciesIsotopologueRatios &isotopologue_ratio, const Numeric P, const Numeric T, const Vector &vmrs, const Vector &f_grid) |
Compute the absorptionlines. | |
void | read (HitranRelaxationMatrixData &hitran, ArrayOfAbsorptionLines &bands, const SpeciesIsotopologueRatios &isotopologue_ratio, const String &basedir, const Numeric linemixinglimit, const Numeric fmin, const Numeric fmax, const Numeric stot, const ModeOfLineMixing mode) |
Read from HITRAN online line mixing file. | |
Tensor4 | hitran_lm_eigenvalue_approximation (const AbsorptionLines &band, const Vector &temperatures, const HitranRelaxationMatrixData &hitran, const Numeric P) |
void | hitran_lm_eigenvalue_adaptation (AbsorptionLines &band, const Vector &temperatures, const HitranRelaxationMatrixData &hitran, const Numeric P0, const Index ord) |
Tensor5 | hitran_lm_eigenvalue_adaptation_test (const AbsorptionLines &band, const Vector &temperatures, const HitranRelaxationMatrixData &hitran, const Vector &pressures) |
ENUMCLASS (ModeOfLineMixing, unsigned char, VP, VP_Y, SDVP, SDVP_Y, FullW, VP_W) const expr bool typeVP(ModeOfLineMixing x) | |
Class that controls ReadFromLineMixingStream output. | |
constexpr bool | typeLP (ModeOfLineMixing x) |
constexpr bool | typeFull (ModeOfLineMixing x) |
using lm_hitran_2017::EqvLinesOut = typedef Absorption::LineMixing::EquivalentLines |
Definition at line 952 of file linemixing_hitran.cc.
|
strong |
Enumerator | |
---|---|
FullVP | |
FullRosenkranz | |
FullW | |
SDVP | |
SDRosenkranz | |
SDW | |
NoneVP | |
NoneRosenkranz | |
NoneW |
Definition at line 48 of file linemixing_hitran.h.
Numeric lm_hitran_2017::atob | ( | const Numeric & | aa, |
const std::array< Numeric, NT > & | a, | ||
const std::array< Numeric, NT > & | b | ||
) |
void lm_hitran_2017::calcw | ( | CommonBlock & | cmn, |
const Index & | n, | ||
const Index & | iband, | ||
const Numeric & | temp | ||
) |
Definition at line 784 of file linemixing_hitran.cc.
References lm_hitran_2017::CommonBlock::Bfittedp::B0pp, lm_hitran_2017::CommonBlock::Bfittedp::B0pq, lm_hitran_2017::CommonBlock::Bfittedp::B0pr, lm_hitran_2017::CommonBlock::Bfittedq::B0qp, lm_hitran_2017::CommonBlock::Bfittedq::B0qq, lm_hitran_2017::CommonBlock::Bfittedq::B0qr, lm_hitran_2017::CommonBlock::Bfittedr::B0rp, lm_hitran_2017::CommonBlock::Bfittedr::B0rq, lm_hitran_2017::CommonBlock::Bfittedr::B0rr, lm_hitran_2017::CommonBlock::Bands, lm_hitran_2017::CommonBlock::Bfittedp, lm_hitran_2017::CommonBlock::Bfittedq, lm_hitran_2017::CommonBlock::Bfittedr, lm_hitran_2017::CommonBlock::DipoRigid::Dipo0, lm_hitran_2017::CommonBlock::DipoRigid, lm_hitran_2017::CommonBlock::DipoTcm::DipoT, lm_hitran_2017::CommonBlock::DipoTcm, lm_hitran_2017::CommonBlock::GamT, lm_hitran_2017::CommonBlock::GamT::HWSDV2T, lm_hitran_2017::CommonBlock::GamT::HWT, lm_hitran_2017::CommonBlock::Bands::Isot, lm_hitran_2017::CommonBlock::Jfln::Jf, lm_hitran_2017::CommonBlock::Jfln, lm_hitran_2017::CommonBlock::Jiln::Ji, lm_hitran_2017::CommonBlock::Jiln, lm_hitran_2017::CommonBlock::Bands::lf, lm_hitran_2017::CommonBlock::Bands::li, lm_hitran_2017::CommonBlock::LineSg, lm_hitran_2017::CommonBlock::PopuT::PopuT, lm_hitran_2017::CommonBlock::PopuT, Math::pow2(), lm_hitran_2017::CommonBlock::SHIFT::shft, lm_hitran_2017::CommonBlock::SHIFT, lm_hitran_2017::CommonBlock::LineSg::Sig, lm_hitran_2017::CommonBlock::Wmatrix::W, lm_hitran_2017::CommonBlock::Wfittedp::W0pp, lm_hitran_2017::CommonBlock::Wfittedp::W0pq, lm_hitran_2017::CommonBlock::Wfittedp::W0pr, lm_hitran_2017::CommonBlock::Wfittedq::W0qp, lm_hitran_2017::CommonBlock::Wfittedq::W0qq, lm_hitran_2017::CommonBlock::Wfittedq::W0qr, lm_hitran_2017::CommonBlock::Wfittedr::W0rp, lm_hitran_2017::CommonBlock::Wfittedr::W0rq, lm_hitran_2017::CommonBlock::Wfittedr::W0rr, lm_hitran_2017::CommonBlock::Wfittedp, lm_hitran_2017::CommonBlock::Wfittedq, lm_hitran_2017::CommonBlock::Wfittedr, lm_hitran_2017::CommonBlock::Wmatrix, lm_hitran_2017::CommonBlock::YLT, and lm_hitran_2017::CommonBlock::YLT::YT.
Referenced by convtp(), convtp(), and hitran_lm_eigenvalue_approximation().
void lm_hitran_2017::calcw | ( | ConvTPOut & | out, |
const HitranRelaxationMatrixData & | hitran, | ||
const AbsorptionLines & | band, | ||
const Numeric | T, | ||
const bool | at_t0 = false |
||
) |
Definition at line 1033 of file linemixing_hitran.cc.
References HitranRelaxationMatrixData::B0pp, HitranRelaxationMatrixData::B0pq, HitranRelaxationMatrixData::B0pr, HitranRelaxationMatrixData::B0qp, HitranRelaxationMatrixData::B0qq, HitranRelaxationMatrixData::B0qr, HitranRelaxationMatrixData::B0rp, HitranRelaxationMatrixData::B0rq, HitranRelaxationMatrixData::B0rr, lm_hitran_2017::ConvTPOut::dip, lm_hitran_2017::ConvTPOut::f0, lm_hitran_2017::ConvTPOut::hwt, Species::IsotopeRecord::isotname, Absorption::Lines::Isotopologue(), Conversion::kaycm2freq(), lm_hitran_2017::ConvTPOut::pop, Absorption::Lines::quantumidentity, sorter_calcw(), Absorption::Lines::T0, Quantum::Number::GlobalState::val, lm_hitran_2017::ConvTPOut::W, HitranRelaxationMatrixData::W0pp, HitranRelaxationMatrixData::W0pq, HitranRelaxationMatrixData::W0pr, HitranRelaxationMatrixData::W0qp, HitranRelaxationMatrixData::W0qq, HitranRelaxationMatrixData::W0qr, HitranRelaxationMatrixData::W0rp, HitranRelaxationMatrixData::W0rq, HitranRelaxationMatrixData::W0rr, and lm_hitran_2017::ConvTPOut::Y.
void lm_hitran_2017::compabs | ( | CommonBlock & | cmn, |
const Numeric & | temp, | ||
const Numeric & | ptot, | ||
const Numeric & | xco2, | ||
const Numeric & | xh2o, | ||
const Vector & | invcm_grid, | ||
const bool | mixsdv, | ||
const bool | mixfull, | ||
VectorView | absv, | ||
VectorView | absy, | ||
VectorView | absw | ||
) |
Definition at line 1570 of file linemixing_hitran.cc.
References lm_hitran_2017::CommonBlock::Bands, convtp(), lm_hitran_2017::CommonBlock::DipoTcm::DipoT, lm_hitran_2017::CommonBlock::DipoTcm, lm_hitran_2017::CommonBlock::GamT, lm_hitran_2017::CommonBlock::GamT::HWSDV2T, lm_hitran_2017::CommonBlock::GamT::HWT, Constant::inv_pi, lm_hitran_2017::CommonBlock::Bands::Isot, lm_hitran_2017::CommonBlock::LineSg, lm_hitran_2017::CommonBlock::Bands::nBand, lm_hitran_2017::CommonBlock::Bands::nLines, Constant::pi, lm_hitran_2017::CommonBlock::PopuT::PopuT, lm_hitran_2017::CommonBlock::PopuT, Math::pow2(), Math::pow3(), qsdv(), lm_hitran_2017::CommonBlock::SHIFT::shft, lm_hitran_2017::CommonBlock::SHIFT, lm_hitran_2017::CommonBlock::LineSg::Sig, Constant::sqrt_ln_2, Constant::sqrt_pi, w, lm_hitran_2017::CommonBlock::YLT, lm_hitran_2017::CommonBlock::YLT::YT, lm_hitran_2017::CommonBlock::Zaa::ZA, lm_hitran_2017::CommonBlock::Zaa, lm_hitran_2017::CommonBlock::Zss::ZS, and lm_hitran_2017::CommonBlock::Zss.
Vector lm_hitran_2017::compabs | ( | const Numeric | T, |
const Numeric | P, | ||
const HitranRelaxationMatrixData & | hitran, | ||
const ArrayOfAbsorptionLines & | bands, | ||
const SpeciesIsotopologueRatios & | isotopologue_ratio, | ||
const Vector & | vmrs, | ||
const Vector & | f_grid | ||
) |
Definition at line 1687 of file linemixing_hitran.cc.
References a, ARTS_USER_ERROR, convtp(), Constant::h, Constant::inv_pi, Constant::k, Array< base >::nelem(), number_density(), Math::pow2(), Math::pow3(), qsdv_si(), Constant::sqrt_ln_2, Constant::sqrt_pi, and w.
Vector lm_hitran_2017::compute | ( | const HitranRelaxationMatrixData & | hitran, |
const ArrayOfAbsorptionLines & | bands, | ||
const SpeciesIsotopologueRatios & | isotopologue_ratio, | ||
const Numeric | P, | ||
const Numeric | T, | ||
const Vector & | vmrs, | ||
const Vector & | f_grid | ||
) |
Compute the absorptionlines.
[in] | hitran | Hitran data for the relaxation matrix calculations |
[in] | bands | List of absorption bands |
[in] | isotopologue_ratio | As WSV |
[in] | P | Pressure in Pascal |
[in] | T | Temperatures in Kelvin |
[in] | vmrs | VMR ratio. Must be 3-long containing {air, h2o, co2} vmrs |
[in] | f_grid | Frequency grid in Hz |
[in] | partition_functions | As WSV |
Definition at line 1964 of file linemixing_hitran.cc.
References compabs().
Vector lm_hitran_2017::compute | ( | const Numeric | p, |
const Numeric | t, | ||
const Numeric | xco2, | ||
const Numeric | xh2o, | ||
const Vector & | invcm_grid, | ||
const Numeric | stotmax, | ||
const calctype | type | ||
) |
Definition at line 1917 of file linemixing_hitran.cc.
References compabs(), detband(), FullRosenkranz, FullVP, FullW, NoneRosenkranz, NoneVP, NoneW, readlines(), readw(), SDRosenkranz, SDVP, and SDW.
Referenced by propmat_clearskyAddHitranLineMixingLines().
void lm_hitran_2017::convtp | ( | CommonBlock & | cmn, |
const Index & | iband, | ||
const Index & | isotc, | ||
const Index & | nlinec, | ||
const Numeric & | xh2o, | ||
const Numeric & | xco2, | ||
const Numeric & | temp, | ||
const Numeric & | ptot, | ||
Numeric & | sigmoy, | ||
Numeric & | gamd_gam0_mx, | ||
const bool | mixfull, | ||
const bool | mixsdv | ||
) |
Definition at line 1281 of file linemixing_hitran.cc.
References lm_hitran_2017::CommonBlock::DTGAMAIR::BHWAIR, lm_hitran_2017::CommonBlock::DTGAMH2O::BHWH2O, lm_hitran_2017::CommonBlock::DTGAMCO2::BHWSELF, calcw(), lm_hitran_2017::CommonBlock::DiagnI, lm_hitran_2017::CommonBlock::DiagnR, lm_hitran_2017::CommonBlock::DipoTcm::DipoT, lm_hitran_2017::CommonBlock::DipoTcm, lm_hitran_2017::CommonBlock::DTGAMAIR, lm_hitran_2017::CommonBlock::DTGAMCO2, lm_hitran_2017::CommonBlock::DTGAMH2O, lm_hitran_2017::CommonBlock::Energy::E, lm_hitran_2017::CommonBlock::Energy, eqvlines(), lm_hitran_2017::CommonBlock::GamSDVT0AIR, lm_hitran_2017::CommonBlock::GamSDVT0CO2, lm_hitran_2017::CommonBlock::GamSDVT0H2O, lm_hitran_2017::CommonBlock::GamT, lm_hitran_2017::CommonBlock::GamVT0AIR, lm_hitran_2017::CommonBlock::GamVT0CO2, lm_hitran_2017::CommonBlock::GamVT0H2O, lm_hitran_2017::CommonBlock::GamT::HWSDV2T, lm_hitran_2017::CommonBlock::GamSDVT0AIR::HWSDVT0AIR, lm_hitran_2017::CommonBlock::GamSDVT0H2O::HWSDVT0H2O, lm_hitran_2017::CommonBlock::GamSDVT0CO2::HWSDVT0SELF, lm_hitran_2017::CommonBlock::GamT::HWT, lm_hitran_2017::CommonBlock::GamVT0AIR::HWVT0AIR, lm_hitran_2017::CommonBlock::GamVT0H2O::HWVT0H2O, lm_hitran_2017::CommonBlock::GamVT0CO2::HWVT0SELF, lm_hitran_2017::CommonBlock::LineSg, lm_hitran_2017::CommonBlock::DiagnI::OpI, lm_hitran_2017::CommonBlock::DiagnR::OpR, lm_hitran_2017::CommonBlock::PopTrf, lm_hitran_2017::CommonBlock::PopuT::PopuT, lm_hitran_2017::CommonBlock::PopuT, lm_hitran_2017::CommonBlock::PopTrf::PopuT0, Math::pow2(), qt_co2(), lm_hitran_2017::CommonBlock::GamSDVT0AIR::rHWT0AIR, lm_hitran_2017::CommonBlock::GamSDVT0H2O::rHWT0H2O, lm_hitran_2017::CommonBlock::GamSDVT0CO2::rHWT0SELF, lm_hitran_2017::CommonBlock::SHIFT::shft, lm_hitran_2017::CommonBlock::SHIFT0::shft0, lm_hitran_2017::CommonBlock::SHIFT, lm_hitran_2017::CommonBlock::SHIFT0, lm_hitran_2017::CommonBlock::LineSg::Sig, lm_hitran_2017::CommonBlock::Wmatrix::W, lm_hitran_2017::CommonBlock::Wmatrix, lm_hitran_2017::CommonBlock::YLT, and lm_hitran_2017::CommonBlock::YLT::YT.
ConvTPOut lm_hitran_2017::convtp | ( | const Vector & | vmrs, |
const HitranRelaxationMatrixData & | hitran, | ||
const AbsorptionLines & | band, | ||
const Numeric | T, | ||
const Numeric | P | ||
) |
Definition at line 1354 of file linemixing_hitran.cc.
References boltzman_factor(), boltzman_ratio(), calcw(), lm_hitran_2017::ConvTPOut::dip, lm_hitran_2017::ConvTPOut::eqv, eqvlines(), lm_hitran_2017::ConvTPOut::f0, Absorption::Lines::F_mean(), Constant::h, lm_hitran_2017::ConvTPOut::hwt, lm_hitran_2017::ConvTPOut::hwt2, Absorption::Lines::Isotopologue(), Constant::k, Absorption::Lines::lines, Absorption::Lines::NumLines(), lm_hitran_2017::ConvTPOut::pop, Absorption::Lines::population, Math::pow2(), lm_hitran_2017::ConvTPOut::shft, single_partition_function(), Absorption::Lines::T0, lm_hitran_2017::ConvTPOut::W, and lm_hitran_2017::ConvTPOut::Y.
void lm_hitran_2017::detband | ( | CommonBlock & | cmn, |
const Numeric & | sgminr, | ||
const Numeric & | sgmaxr, | ||
const Numeric & | stotmax, | ||
const String & | basedir = "data_new/" |
||
) |
Definition at line 1769 of file linemixing_hitran.cc.
References ARTS_USER_ERROR_IF, lm_hitran_2017::CommonBlock::Bands::BandFile, lm_hitran_2017::CommonBlock::Bands, lm_hitran_2017::CommonBlock::Bands::Isot, lm_hitran_2017::CommonBlock::Bands::lf, lm_hitran_2017::CommonBlock::Bands::li, and lm_hitran_2017::CommonBlock::Bands::nBand.
lm_hitran_2017::ENUMCLASS | ( | ModeOfLineMixing | , |
unsigned char | , | ||
VP | , | ||
VP_Y | , | ||
SDVP | , | ||
SDVP_Y | , | ||
FullW | , | ||
VP_W | |||
) | const |
Class that controls ReadFromLineMixingStream output.
Definition at line 89 of file linemixing_hitran.h.
void lm_hitran_2017::eqvlines | ( | CommonBlock & | cmn, |
const Index & | iband, | ||
const Index & | n, | ||
const Numeric & | sigmoy | ||
) |
Definition at line 1209 of file linemixing_hitran.cc.
References lm_hitran_2017::CommonBlock::DiagnI, lm_hitran_2017::CommonBlock::DiagnR, lm_hitran_2017::CommonBlock::DipoTcm::DipoT, lm_hitran_2017::CommonBlock::DipoTcm, lm_hitran_2017::CommonBlock::DiagnI::OpI, lm_hitran_2017::CommonBlock::DiagnR::OpR, lm_hitran_2017::CommonBlock::PopuT::PopuT, lm_hitran_2017::CommonBlock::PopuT, lm_hitran_2017::CommonBlock::Zaa::ZA, lm_hitran_2017::CommonBlock::Zaa, lm_hitran_2017::CommonBlock::Zss::ZS, and lm_hitran_2017::CommonBlock::Zss.
EqvLinesOut lm_hitran_2017::eqvlines | ( | const ComplexMatrix & | W, |
const Vector & | pop, | ||
const Vector & | dip, | ||
const Numeric & | fmean | ||
) |
Definition at line 1242 of file linemixing_hitran.cc.
References Absorption::LineMixing::EquivalentLines::str, and Absorption::LineMixing::EquivalentLines::val.
void lm_hitran_2017::hitran_lm_eigenvalue_adaptation | ( | AbsorptionLines & | band, |
const Vector & | temperatures, | ||
const HitranRelaxationMatrixData & | hitran, | ||
const Numeric | P0, | ||
const Index | ord | ||
) |
Definition at line 2213 of file linemixing_hitran.cc.
References ARTS_USER_ERROR, ARTS_USER_ERROR_IF, Absorption::LineMixing::band_eigenvalue_adaptation(), and hitran_lm_eigenvalue_approximation().
Referenced by abs_lines_per_speciesAdaptHitranLineMixing().
Tensor5 lm_hitran_2017::hitran_lm_eigenvalue_adaptation_test | ( | const AbsorptionLines & | band, |
const Vector & | temperatures, | ||
const HitranRelaxationMatrixData & | hitran, | ||
const Vector & | pressures | ||
) |
Definition at line 2234 of file linemixing_hitran.cc.
References hitran_lm_eigenvalue_approximation(), Absorption::Lines::NumBroadeners(), and Absorption::Lines::NumLines().
Tensor4 lm_hitran_2017::hitran_lm_eigenvalue_approximation | ( | const AbsorptionLines & | band, |
const Vector & | temperatures, | ||
const HitranRelaxationMatrixData & | hitran, | ||
const Numeric | P | ||
) |
Definition at line 2142 of file linemixing_hitran.cc.
References boltzman_factor(), boltzman_ratio(), calcw(), lm_hitran_2017::ConvTPOut::dip, Absorption::LineMixing::eigenvalue_adaptation_of_relmat(), lm_hitran_2017::ConvTPOut::f0, Absorption::Lines::F_mean(), Constant::h, lm_hitran_2017::ConvTPOut::hwt, lm_hitran_2017::ConvTPOut::hwt2, Absorption::Lines::Isotopologue(), Constant::k, Absorption::Lines::lines, Absorption::Lines::NumBroadeners(), Absorption::Lines::NumLines(), lm_hitran_2017::ConvTPOut::pop, Absorption::Lines::population, lm_hitran_2017::ConvTPOut::shft, single_partition_function(), Absorption::Lines::T0, lm_hitran_2017::ConvTPOut::W, and lm_hitran_2017::ConvTPOut::Y.
Referenced by hitran_lm_eigenvalue_adaptation(), and hitran_lm_eigenvalue_adaptation_test().
void lm_hitran_2017::qsdv | ( | const Numeric & | sg0, |
const Numeric & | gamd, | ||
const Numeric & | gam0, | ||
const Numeric & | gam2, | ||
const Numeric & | shift0, | ||
const Numeric & | shift2, | ||
const Numeric & | sg, | ||
Numeric & | ls_qsdv_r, | ||
Numeric & | ls_qsdv_i | ||
) |
Definition at line 1403 of file linemixing_hitran.cc.
References Constant::pi, Math::pow2(), Constant::sqrt_ln_2, and Constant::sqrt_pi.
Referenced by compabs().
Complex lm_hitran_2017::qsdv_si | ( | const Numeric | F0, |
const Numeric | gamd, | ||
const Numeric | gam0, | ||
const Numeric | gam2, | ||
const Numeric | shift0, | ||
const Numeric | shift2, | ||
const Numeric | f | ||
) |
Definition at line 1490 of file linemixing_hitran.cc.
References Constant::pi, Math::pow2(), Constant::sqrt_ln_2, and Constant::sqrt_pi.
Referenced by compabs().
void lm_hitran_2017::qt_co2 | ( | const Numeric & | t, |
const Index & | iso, | ||
Numeric & | gsi, | ||
Numeric & | qt | ||
) |
Definition at line 468 of file linemixing_hitran.cc.
References atob(), and stdarrayify().
void lm_hitran_2017::read | ( | HitranRelaxationMatrixData & | hitran, |
ArrayOfAbsorptionLines & | bands, | ||
const SpeciesIsotopologueRatios & | isotopologue_ratio, | ||
const String & | basedir, | ||
const Numeric | linemixinglimit, | ||
const Numeric | fmin, | ||
const Numeric | fmax, | ||
const Numeric | stot, | ||
const ModeOfLineMixing | mode | ||
) |
Read from HITRAN online line mixing file.
[out] | hitran | Hitran data for the relaxation matrix calculations |
[out] | bands | List of absorption bands |
[in] | isotopologue_ratio | As WSV |
[in] | basedir | The base directory of the HITRAN line mixing files |
[in] | linemixinglimit | The pressure limit for using line mixing instead of pure Voigt |
[in] | fmin | Minimum frequency |
[in] | fmax | Maximum frequency |
[in] | stot | Minimum band-strength |
[in] | mode | The type of calculations |
Definition at line 1975 of file linemixing_hitran.cc.
References ARTS_ASSERT, lm_hitran_2017::CommonBlock::Bfittedp::B0pp, HitranRelaxationMatrixData::B0pp, lm_hitran_2017::CommonBlock::Bfittedp::B0pq, HitranRelaxationMatrixData::B0pq, lm_hitran_2017::CommonBlock::Bfittedp::B0pr, HitranRelaxationMatrixData::B0pr, lm_hitran_2017::CommonBlock::Bfittedq::B0qp, HitranRelaxationMatrixData::B0qp, lm_hitran_2017::CommonBlock::Bfittedq::B0qq, HitranRelaxationMatrixData::B0qq, lm_hitran_2017::CommonBlock::Bfittedq::B0qr, HitranRelaxationMatrixData::B0qr, lm_hitran_2017::CommonBlock::Bfittedr::B0rp, HitranRelaxationMatrixData::B0rp, lm_hitran_2017::CommonBlock::Bfittedr::B0rq, HitranRelaxationMatrixData::B0rq, lm_hitran_2017::CommonBlock::Bfittedr::B0rr, HitranRelaxationMatrixData::B0rr, lm_hitran_2017::CommonBlock::Bands, lm_hitran_2017::CommonBlock::Bfittedp, lm_hitran_2017::CommonBlock::Bfittedq, lm_hitran_2017::CommonBlock::Bfittedr, lm_hitran_2017::CommonBlock::DTGAMAIR::BHWAIR, lm_hitran_2017::CommonBlock::DTGAMH2O::BHWH2O, lm_hitran_2017::CommonBlock::DTGAMCO2::BHWSELF, detband(), lm_hitran_2017::CommonBlock::DTGAMAIR, lm_hitran_2017::CommonBlock::DTGAMCO2, lm_hitran_2017::CommonBlock::DTGAMH2O, lm_hitran_2017::CommonBlock::Energy::E, lm_hitran_2017::CommonBlock::UnusedBandParams::eina, lm_hitran_2017::CommonBlock::Energy, lm_hitran_2017::CommonBlock::UnusedBandParams::fr, Conversion::freq2kaycm(), lm_hitran_2017::CommonBlock::UnusedBandParams::fv1, lm_hitran_2017::CommonBlock::UnusedBandParams::fv2, lm_hitran_2017::CommonBlock::UnusedBandParams::fv3, lm_hitran_2017::CommonBlock::GamSDVT0AIR, lm_hitran_2017::CommonBlock::GamSDVT0CO2, lm_hitran_2017::CommonBlock::GamSDVT0H2O, lm_hitran_2017::CommonBlock::GamVT0AIR, lm_hitran_2017::CommonBlock::GamVT0CO2, lm_hitran_2017::CommonBlock::GamVT0H2O, lm_hitran_2017::CommonBlock::GamSDVT0AIR::HWSDVT0AIR, lm_hitran_2017::CommonBlock::GamSDVT0H2O::HWSDVT0H2O, lm_hitran_2017::CommonBlock::GamSDVT0CO2::HWSDVT0SELF, lm_hitran_2017::CommonBlock::GamVT0AIR::HWVT0AIR, lm_hitran_2017::CommonBlock::GamVT0H2O::HWVT0H2O, lm_hitran_2017::CommonBlock::GamVT0CO2::HWVT0SELF, Conversion::hz_per_msquared2kaycm_per_cmsquared(), lm_hitran_2017::CommonBlock::UnusedBandParams::intens, lm_hitran_2017::CommonBlock::UnusedBandParams::ir, lm_hitran_2017::CommonBlock::Bands::Isot, lm_hitran_2017::CommonBlock::UnusedBandParams::iv1, lm_hitran_2017::CommonBlock::UnusedBandParams::iv2, lm_hitran_2017::CommonBlock::UnusedBandParams::iv3, lm_hitran_2017::CommonBlock::Jfln::Jf, lm_hitran_2017::CommonBlock::Jfln, lm_hitran_2017::CommonBlock::Jiln::Ji, lm_hitran_2017::CommonBlock::Jiln, Conversion::kaycm2freq(), Conversion::kaycm2joule(), Conversion::kaycm_per_atm2hz_per_pa(), Conversion::kaycm_per_cmsquared2hz_per_msquared(), lm_hitran_2017::CommonBlock::Bands::lf, lm_hitran_2017::CommonBlock::Bands::li, lm_hitran_2017::CommonBlock::LineSg, lm_hitran_2017::CommonBlock::Bands::nBand, my_basic_string< charT >::nelem(), lm_hitran_2017::CommonBlock::Bands::nLines, qt_co2(), readlines(), readw(), lm_hitran_2017::CommonBlock::GamSDVT0AIR::rHWT0AIR, lm_hitran_2017::CommonBlock::GamSDVT0H2O::rHWT0H2O, lm_hitran_2017::CommonBlock::GamSDVT0CO2::rHWT0SELF, Quantum::Number::ValueList::set(), lm_hitran_2017::CommonBlock::SHIFT0::shft0, lm_hitran_2017::CommonBlock::SHIFT0, lm_hitran_2017::CommonBlock::LineSg::Sig, stdarrayify(), typeFull(), typeLP(), lm_hitran_2017::CommonBlock::UnusedBandParams, Quantum::Number::GlobalState::val, lm_hitran_2017::CommonBlock::Wfittedp::W0pp, HitranRelaxationMatrixData::W0pp, lm_hitran_2017::CommonBlock::Wfittedp::W0pq, HitranRelaxationMatrixData::W0pq, lm_hitran_2017::CommonBlock::Wfittedp::W0pr, HitranRelaxationMatrixData::W0pr, lm_hitran_2017::CommonBlock::Wfittedq::W0qp, HitranRelaxationMatrixData::W0qp, lm_hitran_2017::CommonBlock::Wfittedq::W0qq, HitranRelaxationMatrixData::W0qq, lm_hitran_2017::CommonBlock::Wfittedq::W0qr, HitranRelaxationMatrixData::W0qr, lm_hitran_2017::CommonBlock::Wfittedr::W0rp, HitranRelaxationMatrixData::W0rp, lm_hitran_2017::CommonBlock::Wfittedr::W0rq, HitranRelaxationMatrixData::W0rq, lm_hitran_2017::CommonBlock::Wfittedr::W0rr, HitranRelaxationMatrixData::W0rr, lm_hitran_2017::CommonBlock::Wfittedp, lm_hitran_2017::CommonBlock::Wfittedq, lm_hitran_2017::CommonBlock::Wfittedr, and LineShape::ModelParameters::X0.
Referenced by abs_hitran_relmat_dataReadHitranRelmatDataAndLines().
void lm_hitran_2017::readlines | ( | CommonBlock & | cmn, |
const String & | basedir = "data_new/" |
||
) |
Definition at line 283 of file linemixing_hitran.cc.
References ARTS_USER_ERROR_IF, lm_hitran_2017::CommonBlock::Bands::BandFile, lm_hitran_2017::CommonBlock::Bands, lm_hitran_2017::CommonBlock::DTGAMAIR::BHWAIR, lm_hitran_2017::CommonBlock::DTGAMH2O::BHWH2O, lm_hitran_2017::CommonBlock::DTGAMCO2::BHWSELF, lm_hitran_2017::CommonBlock::DipoRigid::Dipo0, lm_hitran_2017::CommonBlock::DipoRigid, lm_hitran_2017::CommonBlock::DipoTcm::DipoT, lm_hitran_2017::CommonBlock::DipoTcm, lm_hitran_2017::CommonBlock::DTGAMAIR, lm_hitran_2017::CommonBlock::DTGAMCO2, lm_hitran_2017::CommonBlock::DTGAMH2O, lm_hitran_2017::CommonBlock::Energy::E, lm_hitran_2017::CommonBlock::UnusedBandParams::eina, lm_hitran_2017::CommonBlock::Energy, lm_hitran_2017::CommonBlock::UnusedBandParams::fl2, lm_hitran_2017::CommonBlock::UnusedBandParams::fr, lm_hitran_2017::CommonBlock::UnusedBandParams::fv1, lm_hitran_2017::CommonBlock::UnusedBandParams::fv2, lm_hitran_2017::CommonBlock::UnusedBandParams::fv3, lm_hitran_2017::CommonBlock::GamSDVT0AIR, lm_hitran_2017::CommonBlock::GamSDVT0CO2, lm_hitran_2017::CommonBlock::GamSDVT0H2O, lm_hitran_2017::CommonBlock::GamVT0AIR, lm_hitran_2017::CommonBlock::GamVT0CO2, lm_hitran_2017::CommonBlock::GamVT0H2O, lm_hitran_2017::CommonBlock::GamSDVT0AIR::HWSDVT0AIR, lm_hitran_2017::CommonBlock::GamSDVT0H2O::HWSDVT0H2O, lm_hitran_2017::CommonBlock::GamSDVT0CO2::HWSDVT0SELF, lm_hitran_2017::CommonBlock::GamVT0AIR::HWVT0AIR, lm_hitran_2017::CommonBlock::GamVT0H2O::HWVT0H2O, lm_hitran_2017::CommonBlock::GamVT0CO2::HWVT0SELF, lm_hitran_2017::CommonBlock::UnusedBandParams::il2, lm_hitran_2017::CommonBlock::UnusedBandParams::intens, lm_hitran_2017::CommonBlock::UnusedBandParams::ir, lm_hitran_2017::CommonBlock::Bands::Isot, lm_hitran_2017::CommonBlock::UnusedBandParams::iv1, lm_hitran_2017::CommonBlock::UnusedBandParams::iv2, lm_hitran_2017::CommonBlock::UnusedBandParams::iv3, lm_hitran_2017::CommonBlock::Jfln::Jf, lm_hitran_2017::CommonBlock::Jfln, lm_hitran_2017::CommonBlock::Jiln::Ji, lm_hitran_2017::CommonBlock::Jiln, lm_hitran_2017::CommonBlock::LineSg, lm_hitran_2017::CommonBlock::Bands::nBand, lm_hitran_2017::CommonBlock::Bands::nLines, lm_hitran_2017::CommonBlock::PopTrf, lm_hitran_2017::CommonBlock::PopTrf::PopuT0, lm_hitran_2017::CommonBlock::GamSDVT0AIR::rHWT0AIR, lm_hitran_2017::CommonBlock::GamSDVT0H2O::rHWT0H2O, lm_hitran_2017::CommonBlock::GamSDVT0CO2::rHWT0SELF, lm_hitran_2017::CommonBlock::SHIFT0::shft0, lm_hitran_2017::CommonBlock::SHIFT0, lm_hitran_2017::CommonBlock::LineSg::Sig, toRationalSum(), and lm_hitran_2017::CommonBlock::UnusedBandParams.
void lm_hitran_2017::readw | ( | CommonBlock & | cmn, |
const String & | basedir = "data_new/" |
||
) |
Definition at line 1845 of file linemixing_hitran.cc.
References ARTS_USER_ERROR_IF, lm_hitran_2017::CommonBlock::Bfittedp::B0pp, lm_hitran_2017::CommonBlock::Bfittedp::B0pq, lm_hitran_2017::CommonBlock::Bfittedp::B0pr, lm_hitran_2017::CommonBlock::Bfittedq::B0qp, lm_hitran_2017::CommonBlock::Bfittedq::B0qq, lm_hitran_2017::CommonBlock::Bfittedq::B0qr, lm_hitran_2017::CommonBlock::Bfittedr::B0rp, lm_hitran_2017::CommonBlock::Bfittedr::B0rq, lm_hitran_2017::CommonBlock::Bfittedr::B0rr, lm_hitran_2017::CommonBlock::Bfittedp, lm_hitran_2017::CommonBlock::Bfittedq, lm_hitran_2017::CommonBlock::Bfittedr, lm_hitran_2017::CommonBlock::Wfittedp::W0pp, lm_hitran_2017::CommonBlock::Wfittedp::W0pq, lm_hitran_2017::CommonBlock::Wfittedp::W0pr, lm_hitran_2017::CommonBlock::Wfittedq::W0qp, lm_hitran_2017::CommonBlock::Wfittedq::W0qq, lm_hitran_2017::CommonBlock::Wfittedq::W0qr, lm_hitran_2017::CommonBlock::Wfittedr::W0rp, lm_hitran_2017::CommonBlock::Wfittedr::W0rq, lm_hitran_2017::CommonBlock::Wfittedr::W0rr, lm_hitran_2017::CommonBlock::Wfittedp, lm_hitran_2017::CommonBlock::Wfittedq, and lm_hitran_2017::CommonBlock::Wfittedr.
Sorter lm_hitran_2017::sorter_calcw | ( | ConvTPOut & | out, |
const AbsorptionLines & | band, | ||
const bool | at_t0 | ||
) |
Definition at line 974 of file linemixing_hitran.cc.
References lm_hitran_2017::ConvTPOut::dip, lm_hitran_2017::ConvTPOut::f0, lm_hitran_2017::ConvTPOut::hwt, lm_hitran_2017::ConvTPOut::hwt2, Absorption::Lines::lines, lm_hitran_2017::ConvTPOut::pop, Math::pow2(), Absorption::Lines::quantumidentity, Absorption::reduced_rovibrational_dipole(), lm_hitran_2017::ConvTPOut::shft, Quantum::Number::GlobalState::val, and lm_hitran_2017::ConvTPOut::Y.
Referenced by calcw().
Rational lm_hitran_2017::toRationalSum | ( | char | a, |
char | b = ' ' |
||
) |
Definition at line 272 of file linemixing_hitran.cc.
Referenced by readlines().
|
constexpr |
Definition at line 108 of file linemixing_hitran.h.
Referenced by read().
|
constexpr |
Definition at line 103 of file linemixing_hitran.h.
Referenced by read().