Interface to Vega reference data. More...
#include <vega.hpp>
Public Member Functions | |
Vega (const DMatrix &wavelength, const DMatrix &flux, const QLength &wavelength_unit, const QSpectralFluxDensity &flux_unit) | |
Construct a new Vega object from data. More... | |
Vega (const std::vector< double > &wavelength, const std::vector< double > &flux, const QLength &wavelength_unit, const QSpectralFluxDensity &flux_unit) | |
Construct a new Vega object from data. More... | |
Vega () | |
Construct a new Vega object from hardcoded data. More... | |
DMatrix | get_wavelength () |
Get the internal wavelength in nm. More... | |
DMatrix | get_wavelength (const QLength &in) |
Get the internal wavelength in requested units. More... | |
DMatrix | get_flux () |
Get the internal flux in flam. More... | |
DMatrix | get_flux (const QSpectralFluxDensity &in) |
Get the internal flux in requested units. More... | |
Interface to Vega reference data.
Class that handles vega spectrum and references. This class knows where to find the Vega synthetic spectrum (Bohlin 2007) in order to compute fluxes and magnitudes in given filters
cphot::Vega::Vega | ( | const std::vector< double > & | wavelength, |
const std::vector< double > & | flux, | ||
const QLength & | wavelength_unit, | ||
const QSpectralFluxDensity & | flux_unit | ||
) |
cphot::Vega::Vega | ( | ) |
DMatrix cphot::Vega::get_flux | ( | ) |
DMatrix cphot::Vega::get_flux | ( | const QSpectralFluxDensity & | in | ) |
DMatrix cphot::Vega::get_wavelength | ( | ) |
DMatrix cphot::Vega::get_wavelength | ( | const QLength & | in | ) |