Changes:
- Corrected the sign of
wake_strength
infunction_longitudinal
to ensure a positive wake corresponds to energy loss (consistently with what is already done in the longitudinal resonator). - Correct the
interp1d
interpolation function by addingbounds_error=False
andfill_value=0
as done for the transverse wakes.