pisces.math_utils.random_fields.GaussianRandomField.generate#

GaussianRandomField.generate() ndarray[source]#

Generate a real-space Gaussian random field with the specified power spectrum.

Returns:

Real-valued random field with shape (*domain_dimensions, *field_shape).

Return type:

np.ndarray