Skip to content

Commit 6ed1479

Browse files
committed
Merge pull request #38 from PyCOMPLETE/develop
Hotfix: Bug in longitudinal resonator wake
2 parents 6e59bdb + d5b678a commit 6ed1479

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

impedances/wakes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,6 @@ def function_longitudinal(self):
471471
omegabar = np.sqrt(np.abs(omega**2 - alpha**2))
472472

473473
def wake(dt, *args, **kwargs):
474-
dt = dt.clip(max=0)
475474
if self.Q > 0.5:
476475
y = (-(np.sign(dt) - 1) * self.R_shunt * alpha *
477476
np.exp(alpha * dt) * (cos(omegabar * dt) +

0 commit comments

Comments
 (0)