some work

This commit is contained in:
2019-07-16 21:02:17 +02:00
5 changed files with 81 additions and 11 deletions

View File

@@ -40,7 +40,6 @@ class BrownIterator(object):
delta_px, delta_py = self._interaction(self.x, self.y)
self.px += delta_px
self.py += delta_py
print(self.px)
# XXX: We need the (-1)**i to make the problem
# symmetric.
self.px[np.isnan(self.px)] = self.speed_of_light * (-1)**self._i