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 TypeClassDescriptionclassGeneral 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 PhaseMatrixEnvelopeTrackerBase.compScheffMatrix(double dblLen, EnvelopeProbe probe, IElement elem) Method to compute the space charge transfer matrix for the given length, probe and modeling element.protected PhaseMatrixEnvelopeTrackerBase.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 PhaseMatrixEnvelopeTrackerBase.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 PhaseMatrixThickElement.applyErrors(PhaseMatrix matPhi, IProbe probe, double length) Add Rotation and Displacement Error to Transfer Matrixprotected PhaseMatrixThinElement.applyErrors(PhaseMatrix matPhi, double length) Add Rotation and Displacement Error to Transfer Matrixstatic PhaseMatrixIdealMagSkewQuad3.toBeamFrame(PhaseMatrix matQuad) toBeamFrameMethods in xal.model.elem with parameters of type PhaseMatrixModifier and TypeMethodDescriptionprotected PhaseMatrixThickElement.applyErrors(PhaseMatrix matPhi, IProbe probe, double length) Add Rotation and Displacement Error to Transfer Matrixprotected PhaseMatrixThinElement.applyErrors(PhaseMatrix matPhi, double length) Add Rotation and Displacement Error to Transfer MatrixvoidThickMatrix.setTransferMapGenerator(PhaseMatrix matGen) Set the transfer map generator A for the element.voidThinMatrix.setTransferMatrix(PhaseMatrix matPhi) Set the transfer matrix of the element for all probes.static PhaseMatrixIdealMagSkewQuad3.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 TypeMethodDescriptionvoidEnvelopeProbe.setCurrentResponseMatrix(PhaseMatrix matRespCurr) Set the current factor of the overall response matrix.voidEnvelopeProbe.setResponseMatrix(PhaseMatrix matResp) Set the first-order response matrix accumulated by the Envelope since its initial state.voidParticleProbe.setResponseMatrix(PhaseMatrix matResp) Set the response matrix Φ for the particle at the given state location z.voidTwissProbe.setResponseMatrix(PhaseMatrix matResp) Set the first-order response matrix accumulated by the Envelope since its initial state.voidEnvelopeProbe.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 TypeMethodDescriptionvoidEnvelopeProbeState.setPerturbationMatrix(PhaseMatrix matPerturb) Set the first-order response matrix of the current element slicevoidEnvelopeProbeState.setResponseMatrix(PhaseMatrix matResp) Set the first-order response matrix accumulated by the Envelope since its initial state.voidParticleProbeState.setResponseMatrix(PhaseMatrix matResp) Set the response matrix Φ for the particle at the given state location z.voidTwissProbeState.setResponseMatrix(PhaseMatrix matResp) Set the first-order response matrix accumulated by the Envelope since its initial state.voidEnvelopeProbeState.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 TypeClassDescriptionclassACovarianceMatrixin 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 PhaseMatrixPhaseMatrix.identity()Create an identity phase matrixstatic PhaseMatrixPhaseMatrix.loadFrom(DataAdaptor daSource) Create a newPhaseMatrixobject and initialize with the data source behind the givenDataAdaptorinterface.PhaseMatrix.minus(PhaseMatrix matSub) Non-destructive matrix subtraction.protected PhaseMatrixCovarianceMatrix.newInstance(int row, int cnt) Handles object creation required by the base class.protected PhaseMatrixPhaseMatrix.newInstance(int row, int cnt) Handles object creation required by the base class.PhaseVector.outerProd(PhaseVector vec) Vector outer product operation.static PhaseMatrixCreate 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 PhaseMatrixPhaseMatrix.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 PhaseMatrixPhaseMatrix.spatialTranslation(R3 vecDispl) Create a phase matrix representing a linear translation operator on homogeneous phase space that only affects the spatial coordinates.static PhaseMatrixPhaseMatrix.translation(PhaseVector vecTrans) Create a phase matrix representing a linear translation operator on homogeneous phase space.static PhaseMatrixPhaseMatrix.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.voidPhaseMatrix.minusEquals(PhaseMatrix matSub) In-place matrix subtraction.PhaseMatrix.plus(PhaseMatrix matAddend) Non-destructive matrix addition.voidPhaseMatrix.plusEquals(PhaseMatrix matAddend) In-place matrix addition.voidRmsEnvelope.setCorrelation(PhaseMatrix m) Deprecated.voidPhaseMap.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 forPhaseMapclass.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 PhaseMatrixCalculationsOnMachines.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 PhaseMatrixCalculationsOnMachines.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 R6CalculationEngine.calculateAberration(PhaseMatrix matPhi, double dblGamma) Convenience function for returning the chromatic aberration coefficients.protected R4CalculationEngine.calculateDispersion(PhaseMatrix matPhi, double dblGamma) Taken fromTransferMapState.protected PhaseVectorCalculationEngine.calculateFixedPoint(PhaseMatrix matPhi) Taken fromTransferMapState.protected Twiss[]CalculationEngine.calculateMatchedTwiss(PhaseMatrix matPhiCell) Taken fromTransferMapState.protected R3CalculationEngine.calculatePhaseAdvance(PhaseMatrix matPhi, Twiss[] twsInit, Twiss[] twsFinal) Taken fromTransferMapState.protected R3CalculationEngine.calculatePhaseAdvPerCell(PhaseMatrix matPhiCell) Taken fromTransferMapTrajectory.protected R3CalculationEngine.calculateTunePerCell(PhaseMatrix matPhiCell) Taken fromTransferMapTrajectory.protected Twiss3DCalculationEngine.computeTwiss(TwissProbe probe, PhaseMatrix matPhi, double dW) Deprecated.This is the algorithm component for aTwissProbeand 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 thisBeamEllipsoidobject 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 lengthdblLenand 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 TypeMethodDescriptiondoubleEnsemble.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 R4x4R4x4.extractTransverse(PhaseMatrix matPhi) Extracts a copy of the transverse portion of the givenPhaseMatrixand returns it.