orbit.utils#

Functions

multiDimDoubleArray(*dims)

Method. Creates multi-dimensional arrays with doubles, such as a[i][k][j]. Some examples of the use of this function: a = multiDimArray(5,10,2) a = multiDimArray(*[5,10,2]) a[1][2][1] = 0. By default all elements are initialized to 0.

multiDimIntArray(*dims)

Method. Creates multi-dimensional arrays with integers, such as a[i][k][j]. Some examples of the use of this function: a = multiDimArray(5,10,2) a = multiDimArray(*[5,10,2]) a[1][2][1] = 0 By default all elements are initialized to 0.

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

NamedObject([name])

Class.

ParamsDictObject()

Class.

TypedObject([type_in])

Class.

Modules

orbit.utils.NamedObject([name])

Class.

orbit.utils.ParamsDictObject()

Class.

orbit.utils.TypedObject([type_in])

Class.

orbit.utils.consts

orbit.utils.fitting

orbit.utils.multiDimArray

orbit.utils.orbitFinalize([message])

Method.

orbit.utils.orbit_mpi_utils

orbit.utils.phaseOperations

The collection of functions and classes for operations with phases.

orbit.utils.xml