intervalframe.IntervalSeries.wps#

IntervalSeries.wps(protection=60, min_length=None, max_length=None)[source]#

Calculate Window Protection Score for each position in AIList range

Parameters:
protection : int

Protection window to use

min_length : int

Minimum length of intervals to include [default = None]

max_length : int

Maximum length of intervals to include [default = None]

label : str

Label for hierarchical indexing

Returns:

scoresdict of pandas.Series or pandas.Series

Position on index and WPS as values