dreye.ReceptorEstimator.sample_in_hull#
- ReceptorEstimator.sample_in_hull(n=10, seed=None, engine=None, l1=None, relative=True)[source]#
Sample capture values within the hull of the stimulation system.
- Parameters:
- nint, optional
Number of samples, by default 10.
- seedint, optional
Seed number, by default None
- enginestr, optional
Quasi-Markov chain engine used to draw samples. Accepts ‘Halton’, ‘Sobol’, and ‘LHC’. If None, no QMC engine is used. For details see scipy.qmc. By default None.
- l1float, optional
Whether to sample points that correspond to a specific L1-norm. By default None.
- relativebool, optional
Whether B are relative capture values, by default True.
- Returns:
- ndarray of shape (n, n_filters)
Sampled points from a uniform distribution within the convex hull of the stimulation system.