dreye.ReceptorEstimator.capture#

ReceptorEstimator.capture(signals, domain=None)[source]#

Calculate the absolute excitation/light-induced capture.

Parameters:
signalsndarray of shape (n_signals, n_domain)

The signals exciting all receptor types.

domainndarray of shape (n_domain), optional

If given, this is the domain for signals, and domains between filters and signals will be equalized. By default None.

Returns:
Qndarray of shape (n_filters, n_signals)

The absolute light-induced capture.

Notes

The absolute excitation/light-induced capture is calculated using the filter functions \(S(\lambda)\) and the signals \(I(\lambda)\):

\[Q = \int_{\lambda} S(\lambda)I(\lambda) d\lambda\]