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 (asBoxSizeattribute inBinnedProjection.attrs) are provided, use these to compute the Fourier-volume element in the Hankel transform. Else, useBinnedProjection.edgesif 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.spaceisProjectionName.POWER) are Hankel-transformed.
- Returns
window – Window function with only configuration-space projections (
ProjectionName.spaceisProjectionName.CORRELATION).- Return type