orbit.py_linac.lattice.LinacDiagnosticsNodes#

This package is a collection of diagnostics nodes fo linacs.

Functions

MPI_Allreduce

orbitFinalize([message])

Method.

phaseNearTargetPhase(phase, phase_trgt)

Adds or subtracts 2*math.pi to get the phase near the target phase.

phaseNearTargetPhaseDeg(phase, phase_trgt)

Adds or subtracts 360 to get the phase near the target phase.

Classes

BaseLinacNode([name])

The base abstract class of the linac accelerator elements hierarchy.

Function

The Function python wrapper

LinacBPM([frequency, name])

The linac BPM representation.

LinacNode([name])

The abstract class of the linac accelerator elements hierarchy that can be tilted.

Polynomial

The Polynomial python wrapper

Sequence([name])

This is the class to keep refernces to AccNodes that constitute the accelerator sequence.