dreye.ReceptorEstimator.register_background_adaptation#
- ReceptorEstimator.register_background_adaptation(background, domain=None, add_baseline=True, add=False)[source]#
Register a new adaptational state using a background excitation function.
- Parameters:
- backgroundndarray of shape (n_domain)
Background excitation function.
- domain[type], optional
If given, this is the domain for background, and domains between filters and background will be equalized. By default None.
- add_baselinebool, optional
Whether to add the baseline value the adaptational state, by default True.
- addbool, optional
Whether to add this adaptational state to the current adaptational state, by default False.