Uses of Class
xal.tools.beam.PhaseMatrix
Packages that use PhaseMatrix
Package
Description
Combination of modeling elements from TraceWin documentation put into OpenXAL reference frame.
Modeling Elements Package Library
Contains classes for representing particle beams
and various aspects and properties of particle beams.
-
Uses of PhaseMatrix in xal.extension.jels.model.elem
Subclasses of PhaseMatrix in xal.extension.jels.model.elemModifier and TypeClassDescriptionclass
General electromagnetic field map integrator.Methods in xal.extension.jels.model.elem that return PhaseMatrixConstructors in xal.extension.jels.model.elem with parameters of type PhaseMatrixModifierConstructorDescriptionFieldMapIntegrator
(PhaseMatrix matrix) FieldMapIntegrator
(PhaseMatrix matrix, String integrator) TransferMaps
(double[] positions, PhaseMatrix[] transferMaps) -
Uses of PhaseMatrix in xal.model.alg
Methods in xal.model.alg that return PhaseMatrixModifier and TypeMethodDescriptionprotected PhaseMatrix
EnvelopeTrackerBase.compScheffMatrix
(double dblLen, EnvelopeProbe probe, IElement elem) Method to compute the space charge transfer matrix for the given length, probe and modeling element.protected PhaseMatrix
EnvelopeTrackerBase.modTransferMatrixForEmitGrowth
(double dphi, PhaseMatrix matPhi) Method to modify the transfer matrix when we are simulating emittance growth.Methods in xal.model.alg with parameters of type PhaseMatrixModifier and TypeMethodDescriptionprotected PhaseMatrix
EnvelopeTrackerBase.modTransferMatrixForEmitGrowth
(double dphi, PhaseMatrix matPhi) Method to modify the transfer matrix when we are simulating emittance growth. -
Uses of PhaseMatrix in xal.model.elem
Methods in xal.model.elem that return PhaseMatrixModifier and TypeMethodDescriptionprotected PhaseMatrix
ThickElement.applyErrors
(PhaseMatrix matPhi, IProbe probe, double length) Add Rotation and Displacement Error to Transfer Matrixprotected PhaseMatrix
ThinElement.applyErrors
(PhaseMatrix matPhi, double length) Add Rotation and Displacement Error to Transfer Matrixstatic PhaseMatrix
IdealMagSkewQuad3.toBeamFrame
(PhaseMatrix matQuad) toBeamFrameMethods in xal.model.elem with parameters of type PhaseMatrixModifier and TypeMethodDescriptionprotected PhaseMatrix
ThickElement.applyErrors
(PhaseMatrix matPhi, IProbe probe, double length) Add Rotation and Displacement Error to Transfer Matrixprotected PhaseMatrix
ThinElement.applyErrors
(PhaseMatrix matPhi, double length) Add Rotation and Displacement Error to Transfer Matrixvoid
ThickMatrix.setTransferMapGenerator
(PhaseMatrix matGen) Set the transfer map generator A for the element.void
ThinMatrix.setTransferMatrix
(PhaseMatrix matPhi) Set the transfer matrix of the element for all probes.static PhaseMatrix
IdealMagSkewQuad3.toBeamFrame
(PhaseMatrix matQuad) toBeamFrameConstructors in xal.model.elem with parameters of type PhaseMatrixModifierConstructorDescriptionThickMatrix
(String strId, double dblLen, PhaseMatrix matPhiSub) Creates a new instance of ThickMatrix.ThickMatrix
(String strId, double dblLen, PhaseMatrix matPhiSub, double dblDelW) Creates a new instance of ThickMatrixThinMatrix
(String strId, PhaseMatrix matPhi) Creates a new instance of TransferMatrix.ThinMatrix
(String strId, PhaseMatrix matPhi, double dblDelW) Creates a new instance of ThinMatrix -
Uses of PhaseMatrix in xal.model.probe
Methods in xal.model.probe that return PhaseMatrixModifier and TypeMethodDescriptionEnvelopeProbe.getCurrentResponseMatrix()
Return the last element in the semigroup of response matrices, that is, the last matrix to be post-multiplied onto the response matrix proper.EnvelopeProbe.getResponseMatrix()
Get the first-order response matrix accumulated by the Envelope since its initial state.ParticleProbe.getResponseMatrix()
Returns the response matrix Φ for the particle at the given state location z.TwissProbe.getResponseMatrix()
Get the first-order response matrix accumulated by the probe since its initial state.EnvelopeProbe.getResponseMatrixNoSpaceCharge()
Get the first-order response matrix accumulated by the Envelope since its initial state.EnvelopeProbe.stateResponse
(String elemFrom, String elemTo) Deprecated.This calculation should be done using the utility class xal.tools.beam.calc.CalculationsOnMachinesMethods in xal.model.probe with parameters of type PhaseMatrixModifier and TypeMethodDescriptionvoid
EnvelopeProbe.setCurrentResponseMatrix
(PhaseMatrix matRespCurr) Set the current factor of the overall response matrix.void
EnvelopeProbe.setResponseMatrix
(PhaseMatrix matResp) Set the first-order response matrix accumulated by the Envelope since its initial state.void
ParticleProbe.setResponseMatrix
(PhaseMatrix matResp) Set the response matrix Φ for the particle at the given state location z.void
TwissProbe.setResponseMatrix
(PhaseMatrix matResp) Set the first-order response matrix accumulated by the Envelope since its initial state.void
EnvelopeProbe.setResponseMatrixNoSpaceCharge
(PhaseMatrix matResp) Set the first-order response matrix accumulated by the Envelope since its initial state. -
Uses of PhaseMatrix in xal.model.probe.traj
Methods in xal.model.probe.traj that return PhaseMatrixModifier and TypeMethodDescriptionEnvelopeProbeState.getPerturbationMatrix()
Get the first-order response matrix of current element sliceEnvelopeProbeState.getResponseMatrix()
Get the first-order response matrix accumulated by the Envelope since its initial state.ParticleProbeState.getResponseMatrix()
Returns the response matrix Φ for the particle at the given state location z.TwissProbeState.getResponseMatrix()
Get the first-order response matrix accumulated by the probe since its initial state.EnvelopeProbeState.getResponseMatrixNoSpaceCharge()
Get the first-order response matrix accumulated by the Envelope since its initial state.Methods in xal.model.probe.traj with parameters of type PhaseMatrixModifier and TypeMethodDescriptionvoid
EnvelopeProbeState.setPerturbationMatrix
(PhaseMatrix matPerturb) Set the first-order response matrix of the current element slicevoid
EnvelopeProbeState.setResponseMatrix
(PhaseMatrix matResp) Set the first-order response matrix accumulated by the Envelope since its initial state.void
ParticleProbeState.setResponseMatrix
(PhaseMatrix matResp) Set the response matrix Φ for the particle at the given state location z.void
TwissProbeState.setResponseMatrix
(PhaseMatrix matResp) Set the first-order response matrix accumulated by the Envelope since its initial state.void
EnvelopeProbeState.setResponseMatrixNoSpaceCharge
(PhaseMatrix matResp) Set the first-order response matrix accumulated by the Envelope since its initial state. -
Uses of PhaseMatrix in xal.tools.beam
Subclasses of PhaseMatrix in xal.tools.beamModifier and TypeClassDescriptionclass
ACovarianceMatrix
in homogeneous coordinates represents all moments of a phase space distribution up to and including second order.Methods in xal.tools.beam that return PhaseMatrixModifier and TypeMethodDescriptionPhaseMatrix.clone()
Creates and returns a deep copy of this matrix.PhaseMap.getFirstOrder()
Get the linear portion of the map, this is the quantity Φ0 in the class documentation.RmsEnvelope.getSigma()
Deprecated.static PhaseMatrix
PhaseMatrix.identity()
Create an identity phase matrixstatic PhaseMatrix
PhaseMatrix.loadFrom
(DataAdaptor daSource) Create a newPhaseMatrix
object and initialize with the data source behind the givenDataAdaptor
interface.PhaseMatrix.minus
(PhaseMatrix matSub) Non-destructive matrix subtraction.protected PhaseMatrix
CovarianceMatrix.newInstance
(int row, int cnt) Handles object creation required by the base class.protected PhaseMatrix
PhaseMatrix.newInstance
(int row, int cnt) Handles object creation required by the base class.PhaseVector.outerProd
(PhaseVector vec) Vector outer product operation.static PhaseMatrix
Create a PhaseMatrix instance and initialize it according to a token string of element values.RmsEnvelope.phaseCorrelation()
Deprecated.Returns the covariance matrix (sigma matrix) in homogeneous phase space coordinates.PhaseMatrix.plus
(PhaseMatrix matAddend) Non-destructive matrix addition.static PhaseMatrix
PhaseMatrix.rotationProduct
(R3x3 matSO3) Compute the rotation matrix in phase space that is essentially the Cartesian product of the given rotation matrix in SO(3).static PhaseMatrix
PhaseMatrix.spatialTranslation
(R3 vecDispl) Create a phase matrix representing a linear translation operator on homogeneous phase space that only affects the spatial coordinates.static PhaseMatrix
PhaseMatrix.translation
(PhaseVector vecTrans) Create a phase matrix representing a linear translation operator on homogeneous phase space.static PhaseMatrix
PhaseMatrix.zero()
Create a new instance of a zero phase matrix.Methods in xal.tools.beam with parameters of type PhaseMatrixModifier and TypeMethodDescriptionPhaseMatrix.minus
(PhaseMatrix matSub) Non-destructive matrix subtraction.void
PhaseMatrix.minusEquals
(PhaseMatrix matSub) In-place matrix subtraction.PhaseMatrix.plus
(PhaseMatrix matAddend) Non-destructive matrix addition.void
PhaseMatrix.plusEquals
(PhaseMatrix matAddend) In-place matrix addition.void
RmsEnvelope.setCorrelation
(PhaseMatrix m) Deprecated.void
PhaseMap.setLinearPart
(PhaseMatrix matPhi) Set the linear part of the map, this is the matrix Φ0 in the notation of the class documentation.Constructors in xal.tools.beam with parameters of type PhaseMatrixModifierConstructorDescriptionCovarianceMatrix
(PhaseMatrix matInit) Constructor for CovarianceMatrix.PhaseMap
(PhaseMatrix matTrans) Create a new instance of PhaseMap which behaves as a linear transform given by the specified matrix.PhaseMap
(PhaseVector vecCntr, PhaseVector vecDspl, PhaseMatrix matLin) Initializing constructor forPhaseMap
class.PhaseMatrix
(PhaseMatrix matInit) Copy Constructor - create a deep copy of the target phase matrix. -
Uses of PhaseMatrix in xal.tools.beam.calc
Methods in xal.tools.beam.calc that return PhaseMatrixModifier and TypeMethodDescriptionprotected PhaseMatrix
CalculationsOnMachines.calculateFullLatticeMatrixAt
(TransferMapState state) Calculates and returns the full lattice matrix for the machine at the given state location.CalculationsOnRings.computeRingFullTurnMatrixAt
(TransferMapState state) Computes the one-turn matrix of the ring at the given state location.CalculationsOnRings.computeRingTransferMatrix
(TransferMapState state1, TransferMapState state2) Returns the transfer matrix Φ2,1 taking phase coordinates from state position S1 to state position S2 within the ring.CalculationsOnBeams.computeTransferMatrix
(String elemFrom, String elemTo) Returns the state response matrix calculated from the front face of elemFrom to the back face of elemTo.CalculationsOnMachines.computeTransferMatrix
(String strIdElemFrom, String strIdElemTo) Returns the state response matrix calculated from the front face of elemFrom to the back face of elemTo.static PhaseMatrix
CalculationsOnMachines.computeTransferMatrix
(TransferMapState state1, TransferMapState state2) Convenience method for computing the transfer matrix between two state locations, say S1 and S2.CalculationsOnBeams.getFullResponseMatrix()
Returns the transfer map of the full machine lattice represented by the associated simulation trajectory.CalculationsOnParticles.getFullResponseMatrix()
Returns the full response matrix Φ providing the sensitivity of the final particle position z to the initial conditions z0.Methods in xal.tools.beam.calc with parameters of type PhaseMatrixModifier and TypeMethodDescriptionprotected R6
CalculationEngine.calculateAberration
(PhaseMatrix matPhi, double dblGamma) Convenience function for returning the chromatic aberration coefficients.protected R4
CalculationEngine.calculateDispersion
(PhaseMatrix matPhi, double dblGamma) Taken fromTransferMapState
.protected PhaseVector
CalculationEngine.calculateFixedPoint
(PhaseMatrix matPhi) Taken fromTransferMapState
.protected Twiss[]
CalculationEngine.calculateMatchedTwiss
(PhaseMatrix matPhiCell) Taken fromTransferMapState
.protected R3
CalculationEngine.calculatePhaseAdvance
(PhaseMatrix matPhi, Twiss[] twsInit, Twiss[] twsFinal) Taken fromTransferMapState
.protected R3
CalculationEngine.calculatePhaseAdvPerCell
(PhaseMatrix matPhiCell) Taken fromTransferMapTrajectory
.protected R3
CalculationEngine.calculateTunePerCell
(PhaseMatrix matPhiCell) Taken fromTransferMapTrajectory
.protected Twiss3D
CalculationEngine.computeTwiss
(TwissProbe probe, PhaseMatrix matPhi, double dW) Deprecated.This is the algorithm component for aTwissProbe
and should not be used as the dynamics elsewhere. -
Uses of PhaseMatrix in xal.tools.beam.em
Methods in xal.tools.beam.em that return PhaseMatrixModifier and TypeMethodDescriptionBeamEllipsoid.computeDCScheffMatrix
(double dblLen, double dblPerveance) BeamEllipsoid.computeScheffGenerator
(double dblPerveance) Calculates the transfer matrix generator for space charge effects from thisBeamEllipsoid
object given the generalized beam three-dimensional perveancedblPerveance
.BeamEllipsoid.computeScheffMatrix
(double dblLen, double dblPerveance) Compute and return the transfer matrix for space charge effects due to this beam ellipsoid for the given incremental path lengthdblLen
and generalized beamdblPerveance
.BeamEllipsoid.getBeamToEllipseTransform()
Return the complete transformation from the beam inertial coordinates to the ellipsoid inertial coordinates.BeamEllipsoid.getLabToBeamTransform()
Return the complete transformation from the laboratory inertial coordinates to the ellipsoid inertial coordinates.BeamEllipsoid.getLorentzTransform()
Get the Lorentz transform matrix which takes the laboratory coordinates to the beam coordinates.BeamEllipsoid.getRotation()
Get orthogonal rotation matrix R in SO(7) that rotates the ellipsoid spatial semi-axes onto the spatial coordinate axes.BeamEllipsoid.getTranslation()
Return the translation matrix which transforms coordinates in the beam frame to those with the ellipsoid centroid as the coordinate origin. -
Uses of PhaseMatrix in xal.tools.beam.ens
Methods in xal.tools.beam.ens with parameters of type PhaseMatrixModifier and TypeMethodDescriptiondouble
Ensemble.potentialQuadExpansion
(R3 pt, double q, PhaseMatrix matSigma) Computes the electric potential from a quadrupole multipole expansion. -
Uses of PhaseMatrix in xal.tools.math.r4
Methods in xal.tools.math.r4 with parameters of type PhaseMatrixModifier and TypeMethodDescriptionstatic R4x4
R4x4.extractTransverse
(PhaseMatrix matPhi) Extracts a copy of the transverse portion of the givenPhaseMatrix
and returns it.