mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
An albedo spectrum directly from the Cahoy et al (2010) [2] grid.
Definition at line 24 of file cahoyAlbedos.hpp.
#include <astro/cahoyAlbedos.hpp>
Static Public Member Functions | |
static std::string | fileName (const paramsT ¶ms) |
The file name is constructed from the paramerters sep, metal, and phase. More... | |
static int | readSpectrum (std::vector< realT > &rawLambda, std::vector< realT > &rawSpectrum, const std::string &path, const paramsT ¶ms) |
Read the spectrum from the file specified by path. Extra columns are discarded. More... | |
Static Public Attributes | |
static constexpr realT | wavelengthUnits = static_cast<realT>(1e6) |
Convert from um to SI m. More... | |
static constexpr realT | fluxUnits = static_cast<realT>(1) |
Geometric albedos are dimensionless. More... | |
|
inlinestatic |
The file name is constructed from the paramerters sep, metal, and phase.
Definition at line 48 of file cahoyAlbedos.hpp.
|
inlinestatic |
Read the spectrum from the file specified by path. Extra columns are discarded.
Definition at line 90 of file cahoyAlbedos.hpp.
References mx::ioutils::readColumns().
|
staticconstexpr |
Geometric albedos are dimensionless.
Definition at line 43 of file cahoyAlbedos.hpp.
|
staticconstexpr |
Convert from um to SI m.
Definition at line 40 of file cahoyAlbedos.hpp.