ARTS 2.5.11 (git: 6827797f)
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 "matpack_data.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.
 
void checkIsotopologueRatios (const ArrayOfArrayOfAbsorptionLines &abs_lines_per_species, const Species::IsotopologueRatios &isoratios)
 Check that isotopologue ratios for the given species are correctly defined.
 
Numeric wavenumber_to_joule (Numeric e)
 A little helper function to convert energy from units of wavenumber (cm^-1) to Joule (J).
 
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.
 

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 44 of file absorption.cc.

References ARTS_USER_ERROR_IF.

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 33 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 84 of file absorption.cc.

References find_first_species().

◆ 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 68 of file absorption.cc.

References Conversion::kaycm2joule().

Referenced by Absorption::ReadFromHitran2001Stream(), Absorption::ReadFromHitran2004Stream(), Absorption::ReadFromHitranOnlineStream(), Absorption::ReadFromJplStream(), and Absorption::ReadFromLBLRTMStream().