When the user sets the _maximumduration variable to a values greater than the time series length, the variable is set to the length of the time series, and a warning is raised.
When the user sets the _durstep variable below the value of half a cycle the variable is set to half a cycle and a warning is raised.
Additions
An argument plot has been added to the _occdetect method. If set True in the end of the execution it produces a plot with the single or multiple detections.
Changes
When the user sets the _maximumduration variable to a values greater than the time series length, the variable is set to the length of the time series, and a warning is raised.
When the user sets the _durstep variable below the value of half a cycle the variable is set to half a cycle and a warning is raised.
Additions