mbtrack2.impedance.tapers module

Module where taper elements are defined.

class StupakovRectangularTaper(frequency: ndarray[tuple[int, ...], dtype[_ScalarType_co]], gap_entrance: float, gap_exit: float, length: float, width: float, m_max: int = 100, n_points: int = 10000)[source]

Bases: WakeField

Rectangular vertical taper WakeField element, using the low frequency approxmiation. Assume constant taper angle. Formulas from [1].

! Valid for low w

Parameters

frequency: frequency points where the impedance will be evaluated in [Hz] gap_entrance : full vertical gap at taper entrance in [m] gap_exit: full vertical gap at taper exit in [m] length: taper length in [m] width : full horizontal width of the taper in [m]

__init__(frequency: ndarray[tuple[int, ...], dtype[_ScalarType_co]], gap_entrance: float, gap_exit: float, length: float, width: float, m_max: int = 100, n_points: int = 10000)[source]
property gap_prime
property angle
property Z0
long(frequency: ndarray[tuple[int, ...], dtype[_ScalarType_co]] | None = None) ndarray[tuple[int, ...], dtype[_ScalarType_co]][source]
Z_over_n(f0: float) ndarray[tuple[int, ...], dtype[_ScalarType_co]][source]
ydip()[source]
xdip()[source]
quad()[source]
class StupakovCircularTaper(frequency: ndarray[tuple[int, ...], dtype[_ScalarType_co]], radius_entrance: float, radius_exit: float, length: float, m_max: int = 100, n_points: int = 10000)[source]

Bases: WakeField

Circular taper WakeField element, using the low frequency approxmiation. Assume constant taper angle. Formulas from [1].

! Valid for low w

Parameters

frequency: frequency points where the impedance will be evaluated in [Hz] radius_entrance : radius at taper entrance in [m] radius_exit : radius at taper exit in [m] length : taper length in [m]

__init__(frequency: ndarray[tuple[int, ...], dtype[_ScalarType_co]], radius_entrance: float, radius_exit: float, length: float, m_max: int = 100, n_points: int = 10000)[source]
property angle
property radius_prime
property Z0
long(frequency: ndarray[tuple[int, ...], dtype[_ScalarType_co]] | None = None)[source]
Z_over_n(f0: float) ndarray[tuple[int, ...], dtype[_ScalarType_co]][source]
dip(frequency: ndarray[tuple[int, ...], dtype[_ScalarType_co]] | None = None) ndarray[tuple[int, ...], dtype[_ScalarType_co]][source]