ARTS
2.3.1285(git:92a29ea9-dirty)
|
#include <hitran_xsec.h>
Public Member Functions | |
Index | Species () const |
Return species index. More... | |
String | SpeciesName () const |
Return species name. More... | |
void | SetSpecies (const Index species) |
Set species name. More... | |
ConstVectorView | Coeffs () const |
Get coefficients. More... | |
ConstVectorView | RefPressure () const |
Get reference pressures. More... | |
ConstVectorView | RefTemperature () const |
Get reference temperatures. More... | |
const ArrayOfVector & | Fgrids () const |
Get frequency grids of cross sections. More... | |
const ArrayOfVector & | Xsecs () const |
Get cross sections. More... | |
const ArrayOfVector & | TemperatureSlope () const |
Get slope of temperature fit. More... | |
const ArrayOfVector & | TemperatureIntersect () const |
Get intersect of temperature fit. More... | |
Vector & | Coeffs () |
Get coefficients. More... | |
Vector & | RefPressure () |
Get reference pressures. More... | |
Vector & | RefTemperature () |
Get reference temperatures. More... | |
ArrayOfVector & | Fgrids () |
Get frequency grids of cross sections. More... | |
ArrayOfVector & | Xsecs () |
Get cross sections. More... | |
ArrayOfVector & | TemperatureSlope () |
Get slope of temperature fit. More... | |
ArrayOfVector & | TemperatureIntersect () |
Get intersect of temperature fit. More... | |
void | Extract (VectorView result, ConstVectorView f_grid, const Numeric &pressure, const Numeric &temperature, const Index &apply_tfit, const Verbosity &verbosity) const |
Interpolate cross section data. More... | |
Private Attributes | |
Index | mspecies |
Vector | mcoeffs |
Vector | mrefpressure |
Vector | mreftemperature |
ArrayOfVector | mfgrids |
ArrayOfVector | mxsecs |
ArrayOfVector | mtslope |
ArrayOfVector | mtintersect |
Friends | |
void | xml_read_from_stream (std::istream &is_xml, XsecRecord &cr, bifstream *pbifs, const Verbosity &verbosity) |
Definition at line 37 of file hitran_xsec.h.
|
inline |
Get coefficients.
Definition at line 49 of file hitran_xsec.h.
References mcoeffs.
Referenced by xml_write_to_stream().
|
inline |
void XsecRecord::Extract | ( | VectorView | result, |
ConstVectorView | f_grid, | ||
const Numeric & | pressure, | ||
const Numeric & | temperature, | ||
const Index & | apply_tfit, | ||
const Verbosity & | verbosity | ||
) | const |
Interpolate cross section data.
Interpolate Xsec data to given frequency vector and given scalar pressure. Uses third order interpolation in both coordinates, if grid length allows, otherwise lower order or no interpolation.
[out] | result | Xsec value for given frequency grid and temperature. |
[in] | f_grid | Frequency grid. |
[in] | pressure | Scalar pressure. |
[in] | temperature | Scalar temperature. |
[in] | apply_tfit | Set to 0 to not apply the temperature fit |
[in] | verbosity | Standard verbosity object. |
Definition at line 151 of file hitran_xsec.cc.
References chk_interpolation_grids(), convolve(), CREATE_OUTS, func_2straights(), gridpos_poly(), i, interp(), interpweights(), lorentz_pdf(), mcoeffs, mfgrids, mrefpressure, mreftemperature, mtintersect, mtslope, mxsecs, Array< base >::nelem(), ConstVectorView::nelem(), Absorption::nelem(), and _CS_basic_sstream_base< _CS_cT, _CS_Tr, _CS_Al >::str().
Referenced by TemperatureIntersect().
|
inline |
Get frequency grids of cross sections.
Definition at line 58 of file hitran_xsec.h.
References mfgrids.
Referenced by xml_write_to_stream().
|
inline |
Get frequency grids of cross sections.
Definition at line 79 of file hitran_xsec.h.
References mfgrids.
|
inline |
Get reference pressures.
Definition at line 52 of file hitran_xsec.h.
References mrefpressure.
Referenced by xml_write_to_stream().
|
inline |
|
inline |
Get reference temperatures.
Definition at line 55 of file hitran_xsec.h.
References mreftemperature.
Referenced by xml_write_to_stream().
|
inline |
Get reference temperatures.
Definition at line 76 of file hitran_xsec.h.
References mreftemperature.
|
inline |
|
inline |
Return species index.
Definition at line 40 of file hitran_xsec.h.
References mspecies, and SpeciesName().
Referenced by hitran_xsec_get_index(), and operator<<().
String XsecRecord::SpeciesName | ( | ) | const |
Return species name.
Definition at line 53 of file hitran_xsec.cc.
References mspecies, and species_name_from_species_index().
Referenced by Species(), and xml_write_to_stream().
|
inline |
Get intersect of temperature fit.
Definition at line 67 of file hitran_xsec.h.
References mtintersect.
Referenced by xml_write_to_stream().
|
inline |
Get intersect of temperature fit.
Definition at line 88 of file hitran_xsec.h.
References Extract(), mtintersect, and xml_read_from_stream.
|
inline |
Get slope of temperature fit.
Definition at line 64 of file hitran_xsec.h.
References mtslope.
Referenced by xml_write_to_stream().
|
inline |
|
inline |
Get cross sections.
Definition at line 61 of file hitran_xsec.h.
References mxsecs.
Referenced by xml_write_to_stream().
|
inline |
|
friend |
Referenced by TemperatureIntersect().
|
private |
Definition at line 117 of file hitran_xsec.h.
Referenced by Coeffs(), Extract(), and xml_read_from_stream().
|
private |
Definition at line 120 of file hitran_xsec.h.
Referenced by Extract(), Fgrids(), and xml_read_from_stream().
|
private |
Definition at line 118 of file hitran_xsec.h.
Referenced by Extract(), RefPressure(), and xml_read_from_stream().
|
private |
Definition at line 119 of file hitran_xsec.h.
Referenced by Extract(), RefTemperature(), and xml_read_from_stream().
|
private |
Definition at line 116 of file hitran_xsec.h.
Referenced by SetSpecies(), Species(), SpeciesName(), and xml_read_from_stream().
|
private |
Definition at line 123 of file hitran_xsec.h.
Referenced by Extract(), TemperatureIntersect(), and xml_read_from_stream().
|
private |
Definition at line 122 of file hitran_xsec.h.
Referenced by Extract(), TemperatureSlope(), and xml_read_from_stream().
|
private |
Definition at line 121 of file hitran_xsec.h.
Referenced by Extract(), xml_read_from_stream(), and Xsecs().