Skip to content

Commit 328ceb6

Browse files
authored
Update README.rst
Adding defined arguments; in particular dt was undefined in the example
1 parent a437893 commit 328ceb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Initialize the filter's matrices.
150150
my_filter.H = np.array([[1.,0.]]) # Measurement function
151151
my_filter.P *= 1000. # covariance matrix
152152
my_filter.R = 5 # state uncertainty
153-
my_filter.Q = Q_discrete_white_noise(2, dt, .1) # process uncertainty
153+
my_filter.Q = Q_discrete_white_noise(dim=2, dt=0.1, var=0.1) # process uncertainty
154154
155155
156156
Finally, run the filter.

0 commit comments

Comments
 (0)