ARTS 2.5.0 (git: 9ee3ac6c)
absorption.h File Reference

Declarations required for the calculation of absorption coefficients. More...

#include "species_tags.h"
#include "absorptionlines.h"
#include "array.h"
#include "energylevelmap.h"
#include "gridded_fields.h"
#include "jacobian.h"
#include "matpackI.h"
#include "messages.h"
#include "mystring.h"
#include <array>
#include <cmath>
#include <limits>
#include <map>
#include <stdexcept>

Go to the source code of this file.

Functions

void checkPartitionFunctions (const ArrayOfArrayOfAbsorptionLines &abs_lines_per_species)
 Check that ARTS was compiled for all requested species tags. More...
 
void checkIsotopologueRatios (const ArrayOfArrayOfAbsorptionLines &abs_lines_per_species, const Species::IsotopologueRatios &isoratios)
 Check that isotopologue ratios for the given species are correctly defined. More...
 
Numeric wavenumber_to_joule (Numeric e)
 A little helper function to convert energy from units of wavenumber (cm^-1) to Joule (J). More...
 
void set_vmr_from_first_species (Vector &vmr, const String &species_name, const ArrayOfArrayOfSpeciesTag &abs_species, const Matrix &abs_vmrs)
 set_abs_from_first_species. More...
 

Detailed Description

Declarations required for the calculation of absorption coefficients.

This is the file from arts-1-0, back-ported to arts-1-1.

Author
Stefan Buehler, Axel von Engeln

Definition in file absorption.h.

Function Documentation

◆ checkIsotopologueRatios()

void checkIsotopologueRatios ( const ArrayOfArrayOfAbsorptionLines abs_lines_per_species,
const Species::IsotopologueRatios isoratios 
)

Check that isotopologue ratios for the given species are correctly defined.

Definition at line 61 of file absorption.cc.

References ARTS_USER_ERROR_IF, and nonstd::isnan().

Referenced by lbl_checkedCalc().

◆ checkPartitionFunctions()

void checkPartitionFunctions ( const ArrayOfArrayOfAbsorptionLines abs_lines_per_species)

Check that ARTS was compiled for all requested species tags.

Definition at line 50 of file absorption.cc.

References ARTS_USER_ERROR_IF, and PartitionFunctions::has_partfun().

Referenced by lbl_checkedCalc().

◆ set_vmr_from_first_species()

void set_vmr_from_first_species ( Vector vmr,
const String species_name,
const ArrayOfArrayOfSpeciesTag abs_species,
const Matrix abs_vmrs 
)

set_abs_from_first_species.

Returns vmr for the profile of the first tag group containing the given species.

Author
Oliver Lemke
Parameters
[out]vmrVolume mixing ratio
[in]species_nameSpecies Name
[in]abs_speciesWS Input
[in]abs_vmrsWS Input

Definition at line 110 of file absorption.cc.

References find_first_species(), joker, ConstMatrixView::ncols(), and Vector::resize().

Referenced by abs_xsec_per_speciesAddConts().

◆ wavenumber_to_joule()

Numeric wavenumber_to_joule ( Numeric  e)

A little helper function to convert energy from units of wavenumber (cm^-1) to Joule (J).

This is used when reading HITRAN or JPL catalogue files, which have the lower state energy in cm^-1.

Returns
Energy in J.
Parameters
[in]eEnergy in cm^-1.
Author
Stefan Buehler
Date
2001-06-26

Definition at line 85 of file absorption.cc.

Referenced by Absorption::ReadFromJplStream().