]> defiant.homedns.org Git - pyshared.git/commitdiff
simple_kalman: rename variable in test for something more meaningful
authorErik Andresen <erik@vontaene.de>
Fri, 27 Jul 2018 07:21:34 +0000 (09:21 +0200)
committerErik Andresen <erik@vontaene.de>
Fri, 27 Jul 2018 07:21:34 +0000 (09:21 +0200)
simple_kalman.py

index d3d36ef1c5874592d758cbdfa0a28f6479af6b48..578397c8a8939e43fd5b7abf9a1269b77acf1bac 100755 (executable)
@@ -85,9 +85,9 @@ if __name__ == '__main__':
 
        for i in range(0, 100):
                # Messwert
-               a = p.run(np.array([[y1[i], y2[i]]]).T)
-               x1.append(a.item((0, 0)))
-               x2.append(a.item((1, 0)))
+               result = p.run(np.array([[y1[i], y2[i]]]).T)
+               x1.append(result.item((0, 0)))
+               x2.append(result.item((1, 0)))
 
        plot(orig1, label="Orig")
        plot(orig2, label="Orig")