mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
A spectrum from the Phoenix model, for use with ioutils::astro::astroSpectrum.
Definition at line 24 of file phoenixSpectrum.hpp.
#include <astro/phoenixSpectrum.hpp>
Public Types | |
typedef std::string | paramsT |
The parameter is a string name. More... | |
Static Public Member Functions | |
static int | readSpectrum (std::vector< realT > &rawLambda, std::vector< realT > &rawSpectrum, const std::string &path, const paramsT ¶ms) |
Static Public Attributes | |
static constexpr realT | wavelengthUnits = static_cast<realT>(1e10) |
Convert from A to SI m. More... | |
static constexpr realT | fluxUnits = static_cast<realT>(1e7) / (static_cast<realT>(1e4)*static_cast<realT>(1e10)) |
Convert from erg s-1 cm-2 A-1 to SI W m-3. More... | |
typedef std::string mx::astro::phoenixSpectrum< _units >::paramsT |
The parameter is a string name.
Definition at line 39 of file phoenixSpectrum.hpp.
|
inlinestatic |
[in] | params | the parameters are passed in case needed to construct the spectrum |
Definition at line 46 of file phoenixSpectrum.hpp.
References mx::ioutils::parentPath(), and mx::ioutils::readColumns().
|
staticconstexpr |
Convert from erg s-1 cm-2 A-1 to SI W m-3.
Definition at line 35 of file phoenixSpectrum.hpp.
|
staticconstexpr |
Convert from A to SI m.
Definition at line 32 of file phoenixSpectrum.hpp.