From 6734035a816412bd72a5656c6c742b44168ac61e Mon Sep 17 00:00:00 2001
From: gubaidulinvadim <gubaidulinvadim@gmail.com>
Date: Mon, 15 Jul 2024 15:52:36 +0200
Subject: [PATCH] - removed the old corr computation

---
 mbtrack2/tracking/particles.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/mbtrack2/tracking/particles.py b/mbtrack2/tracking/particles.py
index 74ef09c..e3c6f2e 100644
--- a/mbtrack2/tracking/particles.py
+++ b/mbtrack2/tracking/particles.py
@@ -282,7 +282,6 @@ class Bunch:
         """
         Return the bunch emittance for each plane.
         """
-        cor = np.squeeze([[self[name] - self[name].mean()] for name in self])
 
         cov_x = np.cov(self['x'], self['xp'])
         cov_y = np.cov(self['y'], self['yp'])
-- 
GitLab