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

Contains the absorption namespace. More...

#include "bifstream.h"
#include "bofstream.h"
#include "enums.h"
#include "jacobian.h"
#include "lineshapemodel.h"
#include "matpack.h"
#include "quantum_numbers.h"
#include "species_tags.h"
#include "zeemandata.h"
#include <utility>
#include <vector>

Go to the source code of this file.


struct  Absorption::SingleLine
 Computations and data for a single absorption line. More...
struct  Absorption::SingleLineExternal
 Single line reading output. More...
struct  Absorption::Lines
struct  AbsorptionMirroringTagTypeStatus
struct  AbsorptionNormalizationTagTypeStatus
struct  AbsorptionPopulationTagTypeStatus
struct  AbsorptionCutoffTagTypeStatus
struct  AbsorptionLineShapeTagTypeStatus
struct  AbsorptionTagTypesStatus
struct  AbsorptionSpeciesBandIndex
 Helper struct for flat_index. More...


namespace  Absorption
 Namespace to contain things required for absorption calculations.


using AbsorptionSingleLine = Absorption::SingleLine
using ArrayOfAbsorptionSingleLine = Array< AbsorptionSingleLine >
using AbsorptionLines = Absorption::Lines
using ArrayOfAbsorptionLines = Array< AbsorptionLines >
using ArrayOfArrayOfAbsorptionLines = Array< ArrayOfAbsorptionLines >
using AbsorptionNormalizationType = Absorption::NormalizationType
using AbsorptionPopulationType = Absorption::PopulationType
using AbsorptionMirroringType = Absorption::MirroringType
using AbsorptionCutoffType = Absorption::CutoffType


 Absorption::ENUMCLASS (MirroringType, char, None, Lorentz, SameAsLineShape, Manual) const expr std
 Describes the type of mirroring line effects. More...
 Absorption::ENUMCLASS (PopulationType, char, LTE, NLTE, VibTemps, ByHITRANRosenkranzRelmat, ByHITRANFullRelmat, ByMakarovFullRelmat, ByRovibLinearDipoleLineMixing) const expr std
 Describes the type of population level counter. More...
constexpr bool Absorption::relaxationtype_relmat (PopulationType in) noexcept
 Absorption::ENUMCLASS (CutoffType, char, None, ByLine) String cutofftype2metadatastring(CutoffType in
 Describes the type of cutoff calculations. More...
SingleLineExternal Absorption::ReadFromArtscat3Stream (istream &is)
 Read from ARTSCAT-3. More...
SingleLineExternal Absorption::ReadFromArtscat4Stream (istream &is)
 Read from ARTSCAT-4. More...
SingleLineExternal Absorption::ReadFromArtscat5Stream (istream &is)
 Read from ARTSCAT-5. More...
SingleLineExternal Absorption::ReadFromLBLRTMStream (istream &is)
 Read from LBLRTM. More...
SingleLineExternal Absorption::ReadFromHitran2004Stream (istream &is)
 Read from newer HITRAN. More...
SingleLineExternal Absorption::ReadFromHitranOnlineStream (istream &is)
 Read from HITRAN online. More...
SingleLineExternal Absorption::ReadFromHitran2001Stream (istream &is)
 Read from HITRAN before 2004. More...
SingleLineExternal Absorption::ReadFromJplStream (istream &is)
 Read from JPL. More...
std::vector< Lines > Absorption::split_list_of_external_lines (std::vector< SingleLineExternal > &external_lines, const std::vector< QuantumNumberType > &localquantas={}, const std::vector< QuantumNumberType > &globalquantas={})
 Splits a list of lines into proper Lines. More...
Index Absorption::nelem (const Lines &l)
 Number of lines. More...
Index Absorption::nelem (const Array< Lines > &l)
 Number of lines in list. More...
Index Absorption::nelem (const Array< Array< Lines > > &l)
 Number of lines in lists. More...
Numeric Absorption::reduced_rovibrational_dipole (Rational Jf, Rational Ji, Rational lf, Rational li, Rational k=Rational(1))
 Compute the reduced rovibrational dipole moment. More...
Numeric Absorption::reduced_magnetic_quadrapole (Rational Jf, Rational Ji, Rational N)
 Compute the reduced magnetic quadrapole moment. More...
bool Absorption::any_cutoff (const Array< Array< Lines > > &abs_lines_per_species)
 Checks if there are any cutoffs in the lines. More...
AbsorptionSpeciesBandIndex flat_index (Index i, const ArrayOfArrayOfSpeciesTag &abs_species, const ArrayOfArrayOfAbsorptionLines &abs_lines_per_species)
 Get a flat index pair for species and band. More...


Numeric Absorption::cutoff

Detailed Description

Contains the absorption namespace.

Richard Larsson

Contains the absorption lines implementation

This namespace contains classes to deal with absorption lines

Definition in file absorptionlines.h.

Typedef Documentation

◆ AbsorptionCutoffType

using AbsorptionCutoffType = Absorption::CutoffType

Definition at line 1003 of file absorptionlines.h.

◆ AbsorptionLines

Definition at line 996 of file absorptionlines.h.

◆ AbsorptionMirroringType

using AbsorptionMirroringType = Absorption::MirroringType

Definition at line 1002 of file absorptionlines.h.

◆ AbsorptionNormalizationType

using AbsorptionNormalizationType = Absorption::NormalizationType

Definition at line 1000 of file absorptionlines.h.

◆ AbsorptionPopulationType

using AbsorptionPopulationType = Absorption::PopulationType

Definition at line 1001 of file absorptionlines.h.

◆ AbsorptionSingleLine

◆ ArrayOfAbsorptionLines

Definition at line 997 of file absorptionlines.h.

◆ ArrayOfAbsorptionSingleLine

◆ ArrayOfArrayOfAbsorptionLines

Function Documentation

◆ flat_index()

AbsorptionSpeciesBandIndex flat_index ( Index  i,
const ArrayOfArrayOfSpeciesTag abs_species,
const ArrayOfArrayOfAbsorptionLines abs_lines_per_species 

Get a flat index pair for species and band.

[in]iIndex smaller than the total number of bands but at least 0
[in]abs_speciesAs WSV
[in]abs_lines_per_speciesAs WSV
A valid AbsorptionSpeciesBandIndex

Definition at line 2795 of file

References Array< base >::nelem().

Referenced by propmat_clearskyAddLines().