ARTS 2.5.4 (git: 31ce4f0e)
absorptionlines.cc File Reference

Contains the absorption namespace. More...

#include "absorptionlines.h"
#include <algorithm>
#include <limits>
#include <ostream>
#include <string>
#include "absorption.h"
#include "arts_conversions.h"
#include "debug.h"
#include "enums.h"
#include "file.h"
#include "hitran_species.h"
#include "jpl_species.h"
#include "linescaling.h"
#include "lineshapemodel.h"
#include "quantum_numbers.h"
#include "rational.h"
#include "wigner_functions.h"

Go to the source code of this file.

Namespaces

namespace  Absorption
 Namespace to contain things required for absorption calculations.
 

Functions

std::ostream & Absorption::operator<< (std::ostream &os, const Absorption::Lines &lines)
 
std::istream & Absorption::operator>> (std::istream &is, Lines &lines)
 
std::ostream & Absorption::operator<< (std::ostream &os, const Absorption::SingleLine &line)
 
std::istream & Absorption::operator>> (std::istream &is, Absorption::SingleLine &line)
 
String Absorption::cutofftype2metadatastring (CutoffType in, Numeric cutoff)
 
const Quantum::Number::ValueAbsorption::get (const Quantum::Number::LocalState &qns) ARTS_NOEXCEPT
 
std::ostream & operator<< (std::ostream &os, AbsorptionCutoffTagTypeStatus val)
 
std::ostream & operator<< (std::ostream &os, AbsorptionMirroringTagTypeStatus val)
 
std::ostream & operator<< (std::ostream &os, AbsorptionNormalizationTagTypeStatus val)
 
std::ostream & operator<< (std::ostream &os, AbsorptionPopulationTagTypeStatus val)
 
std::ostream & operator<< (std::ostream &os, AbsorptionLineShapeTagTypeStatus val)
 
std::ostream & operator<< (std::ostream &os, AbsorptionTagTypesStatus val)
 
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...
 
bool Absorption::any_cutoff (const ArrayOfArrayOfAbsorptionLines &abs_lines_per_species)
 

Detailed Description

Contains the absorption namespace.

Author
Richard Larsson
Date
2019-09-07

Contains the absorption lines implementation

This namespace contains classes to deal with absorption lines

Definition in file absorptionlines.cc.

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.

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

Definition at line 2798 of file absorptionlines.cc.

References Array< base >::nelem(), and Absorption::nelem().

Referenced by propmat_clearskyAddLines().

◆ operator<<() [1/6]

std::ostream & operator<< ( std::ostream &  os,
AbsorptionCutoffTagTypeStatus  val 
)

Definition at line 2637 of file absorptionlines.cc.

◆ operator<<() [2/6]

std::ostream & operator<< ( std::ostream &  os,
AbsorptionLineShapeTagTypeStatus  val 
)

Definition at line 2762 of file absorptionlines.cc.

◆ operator<<() [3/6]

std::ostream & operator<< ( std::ostream &  os,
AbsorptionMirroringTagTypeStatus  val 
)

Definition at line 2655 of file absorptionlines.cc.

◆ operator<<() [4/6]

std::ostream & operator<< ( std::ostream &  os,
AbsorptionNormalizationTagTypeStatus  val 
)

Definition at line 2684 of file absorptionlines.cc.

◆ operator<<() [5/6]

std::ostream & operator<< ( std::ostream &  os,
AbsorptionPopulationTagTypeStatus  val 
)

Definition at line 2716 of file absorptionlines.cc.

◆ operator<<() [6/6]

std::ostream & operator<< ( std::ostream &  os,
AbsorptionTagTypesStatus  val 
)

Definition at line 2792 of file absorptionlines.cc.