multichannel response function¶
-
class multichannel_t : public wt::sensor::response::response_t
Multi-channel sensor response function. Each channel is defined by its own sensitivity spectrum. The spectral ranges of different channels might overlap.
Public Functions
-
multichannel_t(multichannel_t&&) = default
-
virtual ~multichannel_t() noexcept = default
-
inline virtual bitmap::pixel_layout_t pixel_layout() const noexcept override
Returns the response function’s pixel layout.
-
inline const auto *channel(std::uint16_t channel) const noexcept
Returns the channel spectrum.
-
inline virtual const f_t f(std::uint32_t channel, const wavenumber_t &k) const noexcept override
Evaluates the sensor sensitivity function.
-
inline virtual const spectrum::spectrum_real_t &sensitivity() const noexcept override
Returns the sensor’s sensitivity spectrum (the sum of all channels’ response spectra)
-
virtual scene::element::info_t description() const override
Public Static Functions
-
static std::unique_ptr<response_t> load(std::string id, scene::loader::loader_t *loader, const scene::loader::node_t &node, const wt::wt_context_t &context)
-
multichannel_t(multichannel_t&&) = default