Go to the documentation of this file.
108 const String& description,
142 const Index& ind_lsn,
210 const Index& mytrantag,
211 const Index& hitrantag,
232 #endif // ifndef NDEBUG
270 Numeric actual_temperature )
const
280 os <<
"Partition function of "
281 <<
"Isotope = " <<
mname
283 throw runtime_error(os.str());
285 return qcoeff_at_t_ref / qtemp;
359 #endif // #ifndef NDEBUG
1172 const Index& isotopeindex)
1227 const Index ind_lsn,
1276 #endif // absorption_h
IsotopeRecord(const String &name, const Numeric &abundance, const Numeric &mass, const Index &mytrantag, const Index &hitrantag, const MakeArray< Index > &jpltags)
Constructor that sets the values.
Numeric Delta_N2() const
F Pressure shift N2 in Hz/Pa :
Numeric Ti0() const
Reference temperature for I0 in K:
Numeric CalculatePartitionFctAtTemp(Numeric temperature) const
Numeric dNair() const
Accuracy for AGAM temperature exponent in relative value :
const String & Description() const
Return the description text.
bool ReadFromArtscat3Stream(istream &is, const Verbosity &verbosity)
Read one line from a stream associated with an ARTSCAT-3 file.
Numeric Gamma_N2() const
Broadening parameter N2 in Hz/Pa :
Array< LineshapeSpec > ArrayOfLineshapeSpec
Holds a list of lineshape specifications: function, normalization, cutoff.
Numeric Sgam() const
Self broadened width in Hz/Pa:
lsnf_type mfunction
Pointer to lineshape normalization function.
void xsec_species(MatrixView xsec, ConstVectorView f_mono, ConstVectorView abs_p, ConstVectorView abs_t, ConstVectorView h2o_abs, ConstVectorView vmr, const ArrayOfLineRecord &abs_lines, const Index ind_ls, const Index ind_lsn, const Numeric cutoff, const Verbosity &verbosity)
Calculate line absorption cross sections for one tag group.
Numeric Gam_N_H2O() const
GAM temp.
const ArrayOfIndex & JplTags() const
JPL tag numbers for all isotopes.
Array< LineRecord > ArrayOfLineRecord
Holds a list of spectral line data.
lsf_type mfunction
Pointer to lineshape function.
const String & Description() const
Return the description text.
void setSgam(Numeric new_sgam)
Set Self broadened width in Hz/Pa:
lsnf_type Function() const
Return pointer to lineshape normalization function.
LineRecord(Index species, Index isotope, Numeric f, Numeric psf, Numeric i0, Numeric ti0, Numeric elow, Numeric agam, Numeric sgam, Numeric nair, Numeric nself, Numeric tgam, const ArrayOfNumeric &aux, Numeric, Numeric, Numeric, Numeric, Numeric, Numeric, Numeric)
Constructor that sets all data elements explicitly.
const Index & Ind_ls() const
Return the index of this lineshape.
Numeric Agam() const
Air broadened width in Hz/Pa:
const String & Name() const
Return the name of this lineshape.
Numeric Nself() const
SGAM temperature exponent (dimensionless):
Numeric Delta_O2() const
F Pressure shift O2 in Hz/Pa :
Numeric Gam_N_CO2() const
GAM temp.
LineshapeNormRecord(const String &name, const String &description, lsnf_type function)
Initializing constructor, used to build the lookup table.
Numeric A() const
Einstein A-coefficient in 1/s :
Numeric Gam_N_H2() const
GAM temp.
void(* lsnf_type)(Vector &, Numeric, VectorView, const Numeric, const Index)
The type that is used to store pointers to lineshape normalization functions.
Lineshape related information.
const Numeric & Abundance() const
Normal abundance ( = isotopic ratio).
const IsotopeRecord & IsotopeData() const
The matching IsotopeRecord from species_data.
lsf_type Function() const
Return pointer to lineshape function.
This file contains the definition of Array.
const String & Name() const
Isotope name.
const Numeric & Cutoff() const
Return the cutoff frequency (in Hz).
Numeric Delta_H2() const
F Pressure shift H2 in Hz/Pa :
Numeric Delta_He() const
F Pressure shift He in Hz/Pa :
void refr_index_BoudourisDryAir(Vector &refr_index, ConstVectorView abs_p, ConstVectorView abs_t)
Calculates the refractive index for dry air at microwave frequncies following Boudouris 1963.
const Index & MytranTag() const
MYTRAN2 tag numbers for all isotopes.
const Index & Ind_lsn() const
Return the index of the normalization factor.
void convHitranIERF(Numeric &mdf, const Index &df)
This can be used to make arrays out of anything.
const Index & HitranTag() const
HITRAN-96 tag numbers for all isotopes.
bool ReadFromHitranStream(istream &is, const Verbosity &verbosity)
Read one line from a stream associated with a HITRAN 1986-2001 file.
void convMytranIER(Numeric &mdh, const Index &dh)
Numeric Elow() const
Lower state energy in cm^-1:
String mdescription
Short description.
Array< IsotopeRecord > misotope
Isotope data.
const SpeciesRecord & SpeciesData() const
The matching SpeciesRecord from species_data.
Numeric wavenumber_to_joule(Numeric e)
A little helper function to convert energy from units of wavenumber (cm^-1) to Joule (J).
ostream & operator<<(ostream &os, const LineshapeSpec &lsspec)
Numeric Psf() const
The pressure shift parameter in Hz/Pa.
void convHitranIERSH(Numeric &mdh, const Index &dh)
Declarations having to do with the four output streams.
SpeciesRecord()
Default constructor.
String Name() const
The full name of the species and isotope.
Array< IsotopeRecord > & Isotope()
const Index & Isotopeindex() const
friend void linesElowToJoule(Array< LineRecord > &abs_lines)
Make the helper function linesElowToJoule a friend, so that it can change the lower state energy.
Numeric Gamma_H2O() const
Broadening parameter H2O in Hz/Pa :
void setNair(Numeric new_mnair)
Set AGAM temperature exponent (dimensionless):
Numeric dNself() const
Accuracy for SGAM temperature exponent in relative value:
Numeric Gamma_H2() const
Broadening parameter H2 in Hz/Pa :
Numeric G_upper() const
Upper state stat.
Contains the lookup data for one isotope.
void define_species_map()
Define the species data map.
bool ReadFromJplStream(istream &is, const Verbosity &verbosity)
Read one line from a stream associated with a JPL file.
Array< Array< LineRecord > > ArrayOfArrayOfLineRecord
Holds a lists of spectral line data for each tag group.
Index Isotope() const
The index of the isotopic species that this line belongs to.
void SetInd_ls(Index ind_ls)
Set it.
Numeric Delta_CO2() const
F Pressure shift CO2 in Hz/Pa :
const Array< IsotopeRecord > & Isotope() const
NUMERIC Numeric
The type to use for all floating point numbers.
const Index & Speciesindex() const
void SetPartitionFctCoeff(const ArrayOfNumeric &qcoeff)
Numeric Gam_N_O2() const
GAM temp.
Implements the class MakeArray, which is a derived class of Array, allowing explicit initialization.
String VersionString() const
Return the version String.
void setPsf(Numeric new_mpsf)
Set the pressure shift parameter in Hz/Pa.
Spectral line catalog data.
SpecIsoMap(const Index &speciesindex, const Index &isotopeindex)
void SetCutoff(Numeric cutoff)
Set it.
Numeric Gam_N_self() const
GAM temp.
void setF(Numeric new_mf)
Set the line center frequency in Hz.
bool ReadFromArtscat4Stream(istream &is, const Verbosity &verbosity)
Read one line from a stream associated with an ARTSCAT-4 file.
Index Species() const
The index of the molecular species that this line belongs to.
Contains the lookup data for one species.
Lineshape related specification like which lineshape to use, the normalizationfactor,...
void(* lsf_type)(Vector &, Vector &, Numeric, Numeric, Numeric, VectorView, const Index)
The type that is used to store pointers to lineshape functions.
IsotopeRecord(const IsotopeRecord &x)
Copy constructor.
Numeric dSgam() const
Accuracy for self broadened width in relative value :
Index mdegfr
Degrees of freedom.
String mname
Name of the function (e.g., Lorentz).
Numeric dAgam() const
Accuracy for air broadened width in relative value :
Numeric dF() const
Accuracy for line position in Hz :
Numeric G_lower() const
Lower state stat.
String mname
Species name.
const String & Name() const
Return the name of this lineshape.
void SetInd_lsn(Index ind_lsn)
Set it.
LineRecord()
Default constructor.
const Numeric & Mass() const
Mass of the isotope.
Numeric Gamma_CO2() const
Broadening parameter CO2 in Hz/Pa :
Numeric Gamma_self() const
Broadening parameter self in Hz/Pa :
LineshapeRecord(const String &name, const String &description, lsf_type function)
Initializing constructor, used to build the lookup table.
const String & Name() const
Index Naux() const
Number of auxiliary parameters.
String mdescription
Short description.
void setNself(Numeric new_mnself)
Set SGAM temperature exponent (dimensionless):
Numeric Delta_H2O() const
F Pressure shift H2O in Hz/Pa :
LineshapeNormRecord()
Default constructor.
Index Version() const
Return the version number.
LineshapeSpec(const Index &ind_ls, const Index &ind_lsn, const Numeric &cutoff)
Initializing constructor.
void refr_index_Boudouris(Vector &refr_index, ConstVectorView abs_p, ConstVectorView abs_t, ConstVectorView h2o_abs)
Calculates the refractive index at microwave frequncies following Boudouris 1963.
Numeric Gam_N_He() const
GAM temp.
LineshapeSpec()
Default constructor.
Numeric Gamma_O2() const
Broadening parameter O2 in Hz/Pa :
void setAgam(Numeric new_agam)
Set Air broadened width in Hz/Pa:
Explicit construction of Arrays.
INDEX Index
The type to use for all integer numbers and indices.
IsotopeRecord()
Default constructor.
String mname
Name of the function (e.g., linear).
Numeric Tgam() const
Reference temperature for AGAM and SGAM in K:
Numeric F() const
The line center frequency in Hz.
const ArrayOfNumeric & Aux() const
Auxiliary parameters.
LineshapeRecord()
Default constructor.
A constant view of a Vector.
bool ReadFromHitran2004Stream(istream &is, const Verbosity &verbosity)
Read one line from a stream associated with a HITRAN 2004 file.
Numeric Gam_N_N2() const
GAM temp.
Lineshape related normalization function information.
Index nelem() const
Number of elements.
Numeric I0() const
The line intensity in m^2*Hz at the reference temperature Ti0.
void setI0(Numeric new_mi0)
Set Intensity.
Numeric dPsf() const
Accuracy for pressure shift in relative value :
bool ReadFromMytran2Stream(istream &is, const Verbosity &verbosity)
Read one line from a stream associated with a MYTRAN2 file.
Numeric dI0() const
Accuracy for line intensity in relative value :
This file contains the definition of String, the ARTS string class.
void write_lines_to_stream(ostream &os, const ArrayOfLineRecord &abs_lines)
SpeciesRecord(const char name[], const Index degfr, const MakeArray< IsotopeRecord > &isotope)
The constructor used in define_species_data.
Numeric Gamma_He() const
Broadening parameter He in Hz/Pa :
Numeric Nair() const
AGAM temperature exponent (dimensionless):
Numeric CalculatePartitionFctRatio(Numeric reference_temperature, Numeric actual_temperature) const
Calculate partition function ratio.