Skip to content

Commit 2fb7c72

Browse files
author
Ryohei Sasaki
authored
add reference & correct misspelling
1 parent fdaf592 commit 2fb7c72

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Localization/ensemble_kalman_filter/ensemble_kalman_filter.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
55
author: Ryohei Sasaki(rsasaki0109)
66
7+
Ref:
8+
- [Ensemble Kalman filtering](https://rmets.onlinelibrary.wiley.com/doi/10.1256/qj.05.135)
9+
710
"""
811

912
import numpy as np
@@ -124,7 +127,7 @@ def enkf_localization(px, xEst, PEst, z, u):
124127
px_hat=px + K @ (np.tile(z_lm_pos,(NP,1)).T- pz)
125128

126129
xEst=np.average(px_hat, axis=1).reshape(4,1)
127-
pEst=calc_covariance(xEst, px_hat)
130+
PEst=calc_covariance(xEst, px_hat)
128131

129132
return xEst, PEst, px_hat
130133

0 commit comments

Comments
 (0)