Skip to content
Snippets Groups Projects
Commit db284b28 authored by Alexis GAMELIN's avatar Alexis GAMELIN
Browse files

[Fix] trapz

parent d310c1fb
Branches
Tags
1 merge request!280.8.0
......@@ -414,7 +414,7 @@ class BeamLoadingEquilibrium():
"""
rho0 = gaussian_bunch(self.tau0, self.ring.sigma_0) / c
R = trapezoid(rho0**2, self.tau0) / trapz(self.rho0**2, self.tau0)
R = trapezoid(rho0**2, self.tau0) / trapezoid(self.rho0**2, self.tau0)
return R
@property
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment