halomod.tools.exclusion_window

halomod.tools.exclusion_window(k: ndarray, r: float) ndarray[source]

Fourier-space top-hat window function.

Parameters:
  • k (np.ndarray) – The fourier-space wavenumbers

  • r (float) – The size of the top-hat window.

Returns:

W – The top-hat window function in fourier space.

Return type:

np.ndarray