11 #ifndef CARMA_UTIL_SPECTRALLINECATALOG_H
12 #define CARMA_UTIL_SPECTRALLINECATALOG_H
52 void open(
const std::string& fileName);
67 std::vector<carma::services::SpectralLine>
68 lookup(
const std::string & lineName,
84 const std::string &transition);
101 std::multimap<std::string, carma::services::SpectralLine> lines_;
107 #endif // CARMA_UTIL_SPECTRALLINECATALOG_H
This class extracts information from a spectral line catalog file and puts it into a multimap for lat...
carma/services/Frequency.h Representation of Frequency.
SpectralLine is derived from CatalogEntry and is used to hold information for a particular entry from...
~SpectralLineCatalog()
Destructor.
The Frequency class can represent any frequency in any units.
SpectralLineCatalog()
Default constructor.
void open(const std::string &fileName)
Open a table for read access.
std::vector< carma::services::SpectralLine > lookup(const std::string &lineName, const carma::services::Frequency &freqLo, const carma::services::Frequency &freqHi)
Look up spectral line from a catalog.