pspec_likelihood.likelihood.DataModelInterface.apply_window_function#

DataModelInterface.apply_window_function(discretized_model: Quantity) Quantity[source]#

Calculate theoretical power spectrum with data window function applied.

Simply performs the matrix product \(p_w = W p_m\).

Parameters

discretized_theory – The discretized theoretical power spectrum, discretized in such a way as to be compatible with the window function. This can be calculated with discretize_theory().

Returns

A 1D array of power-spectrum values corresponding to kpar_bins_obs`.

Return type

windowed_theory