1 #ifndef SRC_HARP_SPECTRAL_GRID_HPP_
2 #define SRC_HARP_SPECTRAL_GRID_HPP_
19 std::vector<SpectralBin>
spec;
Policy class for creating a custom spacing spectral grid.
CustomSpacingSpectralGrid(YAML::Node const &my)
Policy class for creating a regular spacing spectral grid.
RegularSpacingSpectralGrid(YAML::Node const &my)
Base class for a collection of spectral grids.
std::string unit_type
defines the unit of the spectral grid
std::pair< Real, Real > ReadRangeFrom(YAML::Node const &my)
Read the spectral range from a YAML node.
std::vector< SpectralBin > spec
spectral grids
static SpectralGridPtr CreateFrom(YAML::Node const &my)
std::shared_ptr< SpectralGridBase > SpectralGridPtr
Smallest unit of a spectral grid.