slactrac.Focus

class slactrac.Focus(length=0, K1=0, order=1, name=None)[source]

Represents a transversely-focusing element (e.g. ion column).

Parameters:

length : float

Length of the element.

K1 : float

Geometric focusing strength of the element.

order : int

Order to calculate the transfer matrix.

name : str

The name used to identify the element.

Attributes

K1 The geometric focusing strength.
R The transfer matrix R for the focus.
angle
length The length of the focus element.
name
order
radlength
rotate
thickness

Methods

change_E(old_gamma, new_gamma) Scale the setpoint energy of the magnet from the old energy old_gamma to new energy new_gamma.

Previous topic

slactrac.Quad.change_E

Next topic

slactrac.Focus.K1