- qspec.thermal_e_rvs ( t , size = 1 )[source]
-
- Parameters:
-
- tarray_like
The temperature of the ensemble (K).
- sizeint | tuple
Either the size (int) or shape (tuple) of the returned energy array. If 't' is an iterable/array, its shape must be appended to the desired shape of the random samples.
- Returns:
-
- outarray_like
Random energies according to the boltzmann distribution (m/s).