Go to the documentation of this file.
135 if (other.
mlf !=
mlf)
return false;
136 if (other.
muf !=
muf)
return false;
170 return std::any_of(keys.cbegin(), keys.cend(), [
x](
auto y){return x == y;});
175 if (std::string(
"TYPE_PLAIN") == str) {
177 }
else if (std::string(
"TYPE_ZEEMAN") == str) {
179 }
else if (std::string(
"TYPE_PREDEF") == str) {
181 }
else if (std::string(
"TYPE_CIA") == str) {
183 }
else if (std::string(
"TYPE_FREE_ELECTRONS") == str) {
185 }
else if (std::string(
"TYPE_PARTICLES") == str) {
187 }
else if (std::string(
"TYPE_HITRAN_XSEC") == str) {
297 #endif // abs_species_h
SpeciesTag()
Default constructor.
void Uf(Numeric x)
The upper line center frequency in Hz: If this is <0 it means no upper limit.
Index CIADataset() const
CIA dataset index inside this CIA file.
void CIADataset(Index x)
CIA dataset index inside this CIA file.
String Name() const
Return the full name of the tag.
Index BathSpecies() const
Molecular species index.
Vector y(Workspace &ws) noexcept
Index misotopologue
Isotopologue species index.
Numeric muf
The upper line center frequency in Hz.
void Type(Index x)
Return the type of this tag.
This file contains the definition of Array.
constexpr std::array< T, 1+sizeof...(Ts)> stdarrayify(const T &first, const Ts &... the_rest)
Make a std::array of a list of variables (must be 1-long at least)
Numeric SpeciesMass() const
Mass of main species.
Index string2Type(const String &str) const
static bool validIndexForType(Index x) noexcept
Checks if input is a valid Type.
bool operator==(const SpeciesTag &other) const
Comparison operator for species tags.
Implementation of Matrix, Vector, and such stuff.
A tag group can consist of the sum of several of these.
Numeric Uf() const
The upper line center frequency in Hz: If this is <0 it means no upper limit.
bool IsIsotopologue(const String &i) const
Check if the isotopologue is same as SpeciesTag(s).Isotopologue()
ArrayOfArrayOfSpeciesTag abs_species(Workspace &ws) noexcept
Index mcia_dataset
CIA dataset index.
Index CIASecond() const
Species index of the 2nd CIA species.
NUMERIC Numeric
The type to use for all floating point numbers.
Numeric mlf
The lower limit line center frequency in Hz.
Index mtype
Type of this tag.
This file contains the class declaration of bifstream.
void Isotopologue(Index x)
Isotopologue species index.
Numeric Lf() const
The lower line center frequency in Hz.
void Species(Index x)
Set molecular species index.
String SpeciesNameMain() const
Name of main species.
void CIASecond(Index x)
Species index of the 2nd CIA species.
constexpr Rational start(Rational Ju, Rational Jl, Polarization type) noexcept
Gives the lowest M for a polarization type of this transition.
Index mcia_second
2nd CIA species index.
bool IsSpecies(const String &s) const
Check if the species is same as SpeciesTag(s).Species()
Index Isotopologue() const
Isotopologue species index.
Index mspecies
Molecular species index.
Vector x(Workspace &ws) noexcept
INDEX Index
The type to use for all integer numbers and indices.
Index Type() const
Return the type of this tag.
Index Species() const
Molecular species index.
This file contains the definition of String, the ARTS string class.
void Lf(Numeric x)
The lower line center frequency in Hz.