27#ifndef energylevelmap_h
28#define energylevelmap_h
84 return "BAD EnergyLevelMapType";
95 [[nodiscard]]
bool OK() const noexcept;
Contains the absorption namespace.
#define ARTS_ASSERT(condition,...)
constexpr EnergyLevelMapType toEnergyLevelMapType(std::string_view s) noexcept
std::ostream & operator<<(std::ostream &os, EnergyLevelMapType x)
EnergyLevelMapType toEnergyLevelMapTypeOrThrow(std::string_view s)
constexpr std::string_view toString(EnergyLevelMapType x) noexcept
NUMERIC Numeric
The type to use for all floating point numbers.
INDEX Index
The type to use for all integer numbers and indices.
This file contains the definition of String, the ARTS string class.
Index nelem(const Lines &l)
Number of lines.
invlib::Vector< ArtsVector > Vector
invlib wrapper type for ARTS vectors.
EnergyLevelMap operator[](Index ip) const
Output2 get_ratio_params(const AbsorptionLines &band, const Index &line_index) const
Get the output required for Population::NLTE.
EnergyLevelMap(EnergyLevelMapType new_type, Index pages, Index rows, Index cols, const EnergyLevelMap &old)
Output4 get_vibtemp_params(const AbsorptionLines &band, const Numeric T) const
Get the output required for Population::NLTE-VibrationalTemperatures.
EnergyLevelMap InterpToGridPos(Index atmosphere_dim, const ArrayOfGridPos &p, const ArrayOfGridPos &lat, const ArrayOfGridPos &lon) const
ArrayOfQuantumIdentifier levels
void ThrowIfNotOK() const ARTS_NOEXCEPT
EnergyLevelMap operator()(Index ip, Index ilat, Index ilon) const