dreye.ReceptorEstimator.relative_capture#
- ReceptorEstimator.relative_capture(signals, domain=None)[source]#
Calculate the relative capture given a signal
- Parameters:
- signalsndarray of shape (n_signals, n_domain)
The signals exciting all photoreceptor 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:
- Bndarray of shape (n_filters, n_signals)
The relative total capture.
See also
Notes
The relative total capture is calculated from the absolute capture \(Q\) and with the adaptational state \(K\) and baseline capture \(baseline\):
\[B = K (Q + baseline)\]