weibull_min

Contents

weibull_min#

class brainstate.random.weibull_min(a, scale=None, size=None, key=None, dtype=None)#

Sample from a Weibull distribution.

The scipy counterpart is scipy.stats.weibull_min.

Parameters:
  • scale (Array | ndarray | bool | number | bool | int | float | complex | Quantity | None) – The scale parameter of the distribution.

  • concentration – The concentration parameter of the distribution.

  • shape – The shape added to the parameters loc and scale broadcastable shape.

  • dtype (str | type[Any] | dtype | SupportsDType | None) – The type used for samples.

  • key (int | Array | ndarray | None) – a PRNG key or a seed.

Return type:

Array | Quantity