intervalframe.IntervalFrame.wps#

IntervalFrame.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]

Returns:

scoresdict of pandas.Series or pandas.Series

Position on index and WPS as values