smoothing
cuthbertlib.ensemble_kalman.smoothing
Implements the Ensemble Rauch-Tung-Striebel (EnRTS) smoother update.
Cf. [Raanes (2016)[https://doi.org/10.1002/qj.2728].
update(filtered_ensemble, predicted_ensemble, next_smoothed_ensemble)
Applies one EnRTS smoother update step.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
filtered_ensemble
|
Array
|
Filtered ensemble at time t, shape (N, x_dim). |
required |
predicted_ensemble
|
Array
|
Paired forecast ensemble at time t + 1, shape (N, next_x_dim). |
required |
next_smoothed_ensemble
|
Array
|
Smoothed ensemble at time t + 1, shape (N, next_x_dim). |
required |
Returns:
| Type | Description |
|---|---|
tuple[Array, Array]
|
Tuple of the smoothed ensemble at time t and the EnRTS gain. |