From 98baad661fc8db357d7002db23c627d64f18f785 Mon Sep 17 00:00:00 2001 From: Niklas Selke <n.selke@fz-juelich.de> Date: Mon, 22 May 2023 16:45:39 +0200 Subject: [PATCH] Fixed typo in moving block bootstrap function name. --- toarstats/trends/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toarstats/trends/utils.py b/toarstats/trends/utils.py index cf97a94..e3bdad8 100644 --- a/toarstats/trends/utils.py +++ b/toarstats/trends/utils.py @@ -3,7 +3,7 @@ This module contains the following function: calculate_seasonal_cycle - calculate the seasonal cycle calculate_anomalies - calculate the anomalies series -moving_block_boostrap - perform the moving block bootstrap algorithm +moving_block_bootstrap - perform the moving block bootstrap algorithm. """ import numpy as np @@ -42,7 +42,7 @@ def calculate_anomalies(data): }).sort_values("datetime") -def moving_block_boostrap(method, data, quantile, num_samples=1000): +def moving_block_bootstrap(method, data, quantile, num_samples=1000): """Perform the moving block bootstrap algorithm. :param method: either ``"OLS"`` or ``"quant"`` -- GitLab