PeriodWindow.eval_mask#

PeriodWindow.eval_mask(max_window)[source]#

Positions in the padded window that enter the sum.

Parameters:
max_windowint

Padded window length every period is stacked to.

Returns:
np.ndarray

Boolean mask of length max_window.