dreye.ReceptorEstimator.uncertainty_capture#

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

Calculate the variance of 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:
Epsilonndarray of shape (n_filters, n_signals)

The variance of the absolute light-induced capture.

Raises:
ValueError, AssertionError

If the filters_uncertainty hasn’t been previously defined or is not formatted correctly.