pmesh.whitenoise module

pmesh.whitenoise.generate(complex, start, Nmesh, seed, unitary)[source]

The result is always hermitian.

Depending on the shape of complex, the routine will fill either the half or the full representation of the field.

unitary : bool
True for a unitary gaussian field (amplitude is fixed to 1) False for a true gaussian field