dreye.ReceptorEstimator.range_of_solutions#
- ReceptorEstimator.range_of_solutions(B=None, relative=True, error='raise', n=None, eps=1e-05)[source]#
Range of possible solutions for capture values.
- Parameters:
- Bndarray of shape (n_samples, n_filters)
Relative total capture points. If None, the registered B is used. Defaults to None.
- relativebool, optional
Whether B are relative capture values, by default True.
- errorstr, optional
Error message when no range of solutions can be found (‘raise’, ‘warning’, or ‘ignore’). By default ‘raise’.
- nint, optional
Number of minimum samples to draw between the range of solutions. If None, no samples are drawn. By default None.
- epsfloat, optional
Accuracy for relative capture values, by default 1e-5.
- Returns:
- minsndarray of shape (n_samples, n_sources)
The minimum possible value for each stimulation source.
- maxsndarray of shape (n_samples, n_sources)
The maximum possible value for each stimulation source.
- Xsndarray of shape (n_samples)
An object array containing arrays of shape (n+, n_sources) of all the samples drawn for the given capture value. This is only returned, if n is not None.