standard_normal

sherpa.utils.random.standard_normal(rng: Generator | RandomState | None, size: None) float[source] [edit on github]
sherpa.utils.random.standard_normal(rng: Generator | RandomState | None, size: int | Sequence[int] | ndarray) ndarray

Create a random value from a normal distribution (mean=0, stdev=1).

Parameters:
Returns:

value

Return type:

number or ndarray