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 INDEX Index
The type to use for all integer numbers and indices.
Index misotopologue
Isotopologue species index.
void Type(Index x)
Return the type of this tag.
SpeciesTag()
Default constructor.
Index CIADataset() const
CIA dataset index inside this CIA file.
Index CIASecond() const
Species index of the 2nd CIA species.
String Name() const
Return the full name of the tag.
Index Species() const
Molecular species index.
Index Type() const
Return the type of this tag.
void CIASecond(Index x)
Species index of the 2nd CIA species.
void Lf(Numeric x)
The lower line center frequency in Hz.
void CIADataset(Index x)
CIA dataset index inside this CIA file.
Numeric Uf() const
The upper line center frequency in Hz: If this is <0 it means no upper limit.
Numeric mlf
The lower limit line center frequency in Hz.
This file contains the definition of Array.
bool IsSpecies(const String &s) const
Check if the species is same as SpeciesTag(s).Species()
void Uf(Numeric x)
The upper line center frequency in Hz: If this is <0 it means no upper limit.
This file contains the class declaration of bifstream.
static bool validIndexForType(Index x) noexcept
Checks if input is a valid Type.
Numeric Lf() const
The lower line center frequency in Hz.
A tag group can consist of the sum of several of these.
NUMERIC Numeric
The type to use for all floating point numbers.
Numeric SpeciesMass() const
Mass of main species.
Index string2Type(const String &str) const
bool IsIsotopologue(const String &i) const
Check if the isotopologue is same as SpeciesTag(s).Isotopologue()
Index mspecies
Molecular species index.
Numeric muf
The upper line center frequency in Hz.
Implementation of Matrix, Vector, and such stuff.
void Species(Index x)
Set molecular species index.
bool operator==(const SpeciesTag &other) const
Comparison operator for species tags.
void Isotopologue(Index x)
Isotopologue species index.
Index mcia_dataset
CIA dataset index.
constexpr Rational start(Rational Ju, Rational Jl, Polarization type) noexcept
Gives the lowest M for a polarization type of this transition.
Index mtype
Type of this tag.
String SpeciesNameMain() const
Name of main species.
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)
Index Isotopologue() const
Isotopologue species index.
Index mcia_second
2nd CIA species index.
This file contains the definition of String, the ARTS string class.
Index BathSpecies() const
Molecular species index.