From 9fcfb52c81dcc7f46a9afae2b771f5f8682c5582 Mon Sep 17 00:00:00 2001 From: Gamelin Alexis <alexis.gamelin@synchrotron-soleil.fr> Date: Thu, 9 Jun 2022 13:51:30 +0200 Subject: [PATCH] [Fix] Impedance.loss_factor --- mbtrack2/impedance/wakefield.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbtrack2/impedance/wakefield.py b/mbtrack2/impedance/wakefield.py index a7b6efd..a8ff832 100644 --- a/mbtrack2/impedance/wakefield.py +++ b/mbtrack2/impedance/wakefield.py @@ -487,7 +487,7 @@ class Impedance(ComplexData): frequency = self.data.index[positive_index] # Import here to avoid circular import - from mbtrack2.collective_effects.utilities import spectral_density + from mbtrack2.utilities import spectral_density sd = spectral_density(frequency, sigma, m=0) if(self.impedance_type == "long"): -- GitLab