lib.survey_selection.window_function.compute_real_window_1d

lib.survey_selection.window_function.compute_real_window_1d(s, fourier_window)

Compute configuration-space window function by taking Hankel transforms of Fourier-space projections of input window function.

Note

If the number of modes (as BinnedProjection “weights”), as well as the physical size of the box used to compute the window function (as BoxSize attribute in BinnedProjection.attrs) are provided, use these to compute the Fourier-volume element in the Hankel transform. Else, use BinnedProjection.edges if provided, else differences in x-coordinates (\(k\)) to compute the Fourier-volume element.

Parameters
  • s (array) – Separations \(s\) where to compute Hankel transform.

  • fourier_window (WindowFunction, DataVector) – Window function. Only Fourier-space projections for which (ProjectionName.space is ProjectionName.POWER) are Hankel-transformed.

Returns

window – Window function with only configuration-space projections (ProjectionName.space is ProjectionName.CORRELATION).

Return type

WindowFunction