Einzel lens
The equations of beamtracer.optimization.einzel, declared on the code that implements them and checked by the tests.
EinzelLens
classsourceThe fixed settings of an einzel lens, and its problems.
- ray
- objective
- constraints
- transmission
- Assumes
- three coaxial tubes, the outer two grounded, the middle one at , inside a grounded wall; a parallel beam launched upstream as rings
- without space charge (
current0) one field solve and trace is the solution, with A as the weight of the moments - a design that does not fit is a failed evaluation
- References
- Built from
paraxial_focus
functionsourceReturn where a paraxial ray, parallel at the start, crosses the axis [m].
- picht
- focus
- Assumes
- a thick lens, paraxial and without aberrations; integrated by
solve_ivp(rtol , at most one cell per step), the coefficient interpolated linearly - for a diverging ray; the voltage that focuses on the target by Brent's method
- a thick lens, paraxial and without aberrations; integrated by
thin_lens_focal_length
functionsourceReturn the thin-lens focal length [m] of the on-axis potential [V].
- thin lens
- discrete
- voltage
- Order
- 2
- Assumes
- paraxial rays, a lens short compared with , the same potential on both sides; everywhere (NaN if an ion is stopped), without a lens
- the on-axis potential per volt from one vacuum solve at 1 kV on the middle tube
- the order is in the node spacing