pisces.math_utils.random_fields.GaussianRandomField.compute_wavenumber_mgrid#

GaussianRandomField.compute_wavenumber_mgrid(fft_type: str = 'real', **kwargs)#

Compute the meshgrid of wavenumber arrays for the random field.

Parameters:
  • fft_type (str, optional) – Type of FFT to consider (‘real’ or ‘complex’), by default ‘real’.

  • **kwargs (dict) – Additional keyword arguments to pass to np.meshgrid.

Returns:

Meshgrid of wavenumber arrays.

Return type:

np.ndarray