mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Earth Albedo Spectra.
The spectra can be one of:
Definition at line 289 of file astroSpectra.hpp.
#include <astro/astroSpectra.hpp>
Public Types | |
typedef std::string | paramsT |
The name of the spectrum can be "EPOXI", "Earthshine", or "RawEarthshine". More... | |
Static Public Member Functions | |
static std::string | fileName (const std::string &name) |
The name of the datafile is a constant. More... | |
static int | readSpectrum (std::vector< realT > &rawLambda, std::vector< realT > &rawSpectrum, const std::string &path, const paramsT ¶ms) |
Read the Earthshine albedo spectrum, which is a simple two column ASCII format. More... | |
Static Public Attributes | |
static constexpr realT | wavelengthUnits = static_cast<realT>(1e6) |
Convert from A to SI m. More... | |
static constexpr realT | fluxUnits = static_cast<realT>(1) |
The Earthshine is a dimensionless albedo. More... | |
static constexpr const char * | dataDirEnvVar = "EARTHSHINE_DATADIR" |
The location is specified by the EARTHSHINE_DATADIR environment variable. More... | |
typedef std::string mx::astro::earthAlbedo< _units >::paramsT |
The name of the spectrum can be "EPOXI", "Earthshine", or "RawEarthshine".
Definition at line 296 of file astroSpectra.hpp.
|
inlinestatic |
The name of the datafile is a constant.
Definition at line 308 of file astroSpectra.hpp.
|
inlinestatic |
Read the Earthshine albedo spectrum, which is a simple two column ASCII format.
[out] | rawLambda | the raw wavelength vector. This should be an empty vector on input. |
[out] | rawSpectrum | the raw spectrum. This should be an empty vector on input. |
[in] | path | the full path to the file. |
[in] | params | the parameters are passed in case needed to construct the spectrum |
Definition at line 320 of file astroSpectra.hpp.
References mx::ioutils::readColumns().
|
staticconstexpr |
The location is specified by the EARTHSHINE_DATADIR environment variable.
Definition at line 305 of file astroSpectra.hpp.
|
staticconstexpr |
The Earthshine is a dimensionless albedo.
Definition at line 302 of file astroSpectra.hpp.
|
staticconstexpr |
Convert from A to SI m.
Definition at line 299 of file astroSpectra.hpp.