methods.block_maxima¶
- class evt.methods.block_maxima.BlockMaxima(dataset: evt.dataset.Dataset, number_of_datapoints_per_block: int)¶
Bases:
objectThe block maxima method is one of the two fundamental approaches in extreme value theory. The
Datasetdatasetis divided into blocks of sizenumber_of_datapoints_per_block
.
For every block, the maximum is determined.- plot_block_maxima(ax: matplotlib.axes._axes.Axes)¶
Plots the block maxima as stars against the original dataset. The blocks are indicated by vertical separators.
- plot_block_maxima_boxplot(ax: matplotlib.axes._axes.Axes)¶
Plots a boxplot of the block maxima on the left side. On the right side, a boxplot of the original dataset is shown for comparison.