Class spectrum_real_t¶
Defined in File spectrum.hpp
Inheritance Relationships¶
Base Type¶
public wt::spectrum::spectrum_t
(Class spectrum_t)
Derived Types¶
public wt::spectrum::analytic_t
(Class analytic_t)public wt::spectrum::binned_t
(Class binned_t)public wt::spectrum::blackbody_t
(Class blackbody_t)public wt::spectrum::composite_t
(Class composite_t)public wt::spectrum::discrete_t
(Class discrete_t)public wt::spectrum::function_t
(Class function_t)public wt::spectrum::gaussian_t
(Class gaussian_t)public wt::spectrum::piecewise_linear_t
(Class piecewise_linear_t)public wt::spectrum::rgb_t
(Class rgb_t)public wt::spectrum::uniform_t
(Class uniform_t)
Class Documentation¶
-
class spectrum_real_t : public wt::spectrum::spectrum_t¶
Purely real-valued spectrum, for power and power-like distributions.
Subclassed by wt::spectrum::analytic_t, wt::spectrum::binned_t, wt::spectrum::blackbody_t, wt::spectrum::composite_t, wt::spectrum::discrete_t, wt::spectrum::function_t, wt::spectrum::gaussian_t, wt::spectrum::piecewise_linear_t, wt::spectrum::rgb_t, wt::spectrum::uniform_t
Public Functions
-
inline spectrum_real_t(std::string id)¶
-
spectrum_real_t(const spectrum_real_t&) = default¶
-
spectrum_real_t(spectrum_real_t&&) = default¶
-
virtual ~spectrum_real_t() noexcept = default¶
-
virtual const distribution1d_t *distribution() const noexcept = 0¶
Returns the underlying spectrum distribution.
-
virtual f_t power() const noexcept = 0¶
Returns the total spectral power contained in this spectrum.
-
virtual f_t power(const range_t<wavenumber_t> &wavenumbers) const noexcept = 0¶
Returns the spectral power over the provided wavenumber range.
-
virtual wavenumber_t mean_wavenumber() const noexcept = 0¶
Returns the mean wavenumber for this spectrum.
-
virtual f_t f(const wavenumber_t wavenumber) const noexcept = 0¶
Query the spectrum. Returns the spectral power for the given wavenumber ‘wavenumber’.
-
inline virtual c_t value(const wavenumber_t wavenumber) const noexcept final¶
Query the spectrum. Returns the spectral value for the given wavenumber ‘wavenumber’.
-
inline spectrum_real_t(std::string id)¶