Commit ff07663e authored by Loic Hausammann's avatar Loic Hausammann
Browse files

Fix name

parent 08b536f4
......@@ -41,7 +41,7 @@ with File(index, "r") as f:
data = logger.loadFromIndex(offset, dump, time_offset)
# Compute distance from center
pos = data["position"]
pos = data["positions"]
center = pos.mean()
r2 = np.sum((pos - center)**2, axis=1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment