From 25a6d8d206c8140a72700f56bf421bec8815f1cc Mon Sep 17 00:00:00 2001 From: giadarol Date: Fri, 23 Feb 2024 15:04:13 +0100 Subject: [PATCH] And with the momentum spread --- examples/coasting/002_try_to_simplify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/coasting/002_try_to_simplify.py b/examples/coasting/002_try_to_simplify.py index db0f16f86..485c6291f 100644 --- a/examples/coasting/002_try_to_simplify.py +++ b/examples/coasting/002_try_to_simplify.py @@ -63,7 +63,7 @@ def track(self, particles): num_particles = 10000 p = line.build_particles( zeta=np.random.uniform(-circumference/2, circumference/2, num_particles), - delta=1e-2 + 0e-2*np.random.uniform(-1, 1, num_particles), + delta=3e-2*np.random.uniform(-1, 1, num_particles), x_norm=0, y_norm=0 )