Uses of Class
xal.tools.beam.PhaseVector
Packages that use PhaseVector
Package
Description
Contains classes for representing particle beams
and various aspects and properties of particle beams.
-
Uses of PhaseVector in xal.extension.jels
Methods in xal.extension.jels with parameters of type PhaseVectorModifier and TypeMethodDescriptionstatic void
ImporterHelpers.addInitialParameters
(Accelerator accelerator, double bunchFrequency, double beamCurrent, double kineticEnergy, PhaseVector initialCentroid, Twiss[] initialTwiss) static void
ImporterHelpers.setupInitialParameters
(EnvelopeProbe probe, double bunchFrequency, double beamCurrent, double kineticEnergy, PhaseVector vecCent, Twiss[] initialTwiss) -
Uses of PhaseVector in xal.extension.tracewinimporter
Methods in xal.extension.tracewinimporter that return PhaseVectorModifier and TypeMethodDescriptionIniFileParser.getInitialCentroid()
TraceWin.getInitialCentroids()
Methods in xal.extension.tracewinimporter with parameters of type PhaseVector -
Uses of PhaseVector in xal.model.probe
Methods in xal.model.probe that return PhaseVectorModifier and TypeMethodDescriptionTwissProbe.getCentroid()
Get the centroid location of the beam bunch in homogeneous coordinates.ParticleProbe.getFixedOrbit()
Deprecated.ParticleProbe.getPhaseCoordinates()
Returns homogeneous phase space coordinates of the particle.EnsembleProbe.phaseMean()
Return the coordinates of the ensemble centroid.EnvelopeProbe.phaseMean()
Return the phase space coordinates of the centroid in homogeneous coordinatesMethods in xal.model.probe with parameters of type PhaseVectorModifier and TypeMethodDescriptionvoid
TwissProbe.setCentroid
(PhaseVector vecCentroid) Set the centroid location of the beam bunch in homogeneous coordinates.void
ParticleProbe.setPhaseCoordinates
(PhaseVector vecPhase) Set the phase space coordinates of the probe. -
Uses of PhaseVector in xal.model.probe.traj
Methods in xal.model.probe.traj that return PhaseVectorModifier and TypeMethodDescriptionTwissProbeState.getCentroid()
Get the centroid location of the beam bunch in homogeneous coordinates.ParticleProbeState.getFixedOrbit()
Deprecated.This is a duplicate ofParticleProbeState.getPhaseCoordinates()
but with a misleading name.TwissProbeState.getFixedOrbit()
Get the fixed orbit about which betatron oscillations occur.ParticleProbeState.getPhaseCoordinates()
Returns homogeneous phase space coordinates of the particle.TwissProbeState.getPhaseCoordinates()
Returns homogeneous phase space coordinates of the centroid.EnsembleProbeState.phaseMean()
Return the coordinates of the ensemble centroid.EnvelopeProbeState.phaseMean()
Convenience Method: Return the phase space coordinates of the centroid in homogeneous coordinates.Methods in xal.model.probe.traj with parameters of type PhaseVectorModifier and TypeMethodDescriptionvoid
TwissProbeState.setCentroid
(PhaseVector vecCentroid) Set the centroid location of the beam bunch in homogeneous coordinates.void
ParticleProbeState.setPhaseCoordinates
(PhaseVector vecPhase) Set the phase space coordinates of the probe. -
Uses of PhaseVector in xal.tools.beam
Methods in xal.tools.beam that return PhaseVectorModifier and TypeMethodDescriptionPhaseMap.apply
(PhaseVector vecIn) Apply this map to the given phase vector.ImpactXalUnitConverter.centroidFromXal
(CovarianceMatrix matCorrel) Compute and return the beam centroid coordinates from the correlation matrix in homogeneous coordinates.TraceXalUnitConverter.centroidFromXal
(CovarianceMatrix matCorrel) Compute and return the beam centroid coordinates from the correlation matrix in homogeneous coordinates.PhaseVector.clone()
Creates and returns a deep copy of this vector.static PhaseVector
PhaseVector.copy
(PhaseVector vecParent) Creates a deep copy of the givenPhaseVector
object.static PhaseVector
Embeds the given vector z ∈ R4 into homogeneous phase space.static PhaseVector
Embeds the given vector z ∈ R6 into homogeneous phase space.PhaseMap.getDomainCenter()
Returns the map center in its domain.CovarianceMatrix.getMean()
Return the phase space coordinates of the centroid in homogeneous coordinates.PhaseMap.getRangeDisplace()
Get the map offset in the range, the vector Δ0 in the class documentation.ImpactXalUnitConverter.impactToXalCoordinates
(PhaseVector vecCoords) Converts phase vector values in Trace3D units to values in units used by XAL (MKS).static PhaseVector
PhaseVector.loadFrom
(DataAdaptor daSource) Create a newPhaseVector
object and initialize with the data source behind the givenDataAdaptor
interface.PhaseVector.minus
(PhaseVector vecSub) Must override to protect the homogeneous coordinate.PhaseVector.negate()
Must override to protect the homogeneous coordinate.protected PhaseVector
PhaseVector.newInstance
(double[] arrVecInt) protected PhaseVector
PhaseVector.newInstance
(int size) Handles object creation required by the base class.static PhaseVector
PhaseVector.newZero()
Create a new instance of a zero phase vector.static PhaseVector
Create a new instance of PhaseVector with initial value determined by the formatted string argument.PhaseVector.plus
(PhaseVector vecAdd) Must override to protect the homogeneous coordinate.PhaseVector.times
(double s) Must override to protect the homogeneous coordinate.TraceXalUnitConverter.traceToXalCoordinates
(PhaseVector vecCoords) Converts phase vector values in Trace3D units to values in units used by XAL (MKS).ImpactXalUnitConverter.xalToImpactCoordinates
(PhaseVector vecCoords) Converts phase vector values in XAL (MKS) units to values in units used by Trace3D.TraceXalUnitConverter.xalToTraceCoordinates
(PhaseVector vecCoords) Converts phase vector values in XAL (MKS) units to values in units used by Trace3D.Methods in xal.tools.beam with parameters of type PhaseVectorModifier and TypeMethodDescriptionPhaseMap.apply
(PhaseVector vecIn) Apply this map to the given phase vector.static CovarianceMatrix
CovarianceMatrix.buildCovariance
(Twiss twissX, Twiss twissY, Twiss twissZ, PhaseVector vecCen) Create a CovarianceMatrix corresponding to the given Twiss parameters and having the given mean values (centroid location).static PhaseVector
PhaseVector.copy
(PhaseVector vecParent) Creates a deep copy of the givenPhaseVector
object.ImpactXalUnitConverter.correlationMatrixFromT3d
(Twiss t3dX, Twiss t3dY, Twiss t3dZ, PhaseVector centroid) Builds a correlation matrix from Twiss parameters in the three phase planes.TraceXalUnitConverter.correlationMatrixFromT3d
(Twiss t3dX, Twiss t3dY, Twiss t3dZ, PhaseVector centroid) Builds a correlation matrix from Twiss parameters in the three phase planes.ImpactXalUnitConverter.impactToXalCoordinates
(PhaseVector vecCoords) Converts phase vector values in Trace3D units to values in units used by XAL (MKS).double
PhaseVector.innerProd
(PhaseVector v) Must override to account for the homogeneous coordinate.PhaseVector.minus
(PhaseVector vecSub) Must override to protect the homogeneous coordinate.void
PhaseVector.minusEquals
(PhaseVector vecSub) Must override to protect the homogeneous coordinate.static CovarianceMatrix
CovarianceMatrix.newCenter
(PhaseVector vecCen) Create a "center matrix" corresponding the given mean values (centroid location).PhaseVector.outerProd
(PhaseVector vec) Vector outer product operation.PhaseVector.plus
(PhaseVector vecAdd) Must override to protect the homogeneous coordinate.void
PhaseVector.plusEquals
(PhaseVector vecAdd) Must override to protect the homogeneous coordinate.void
PhaseMap.setDomainCenter
(PhaseVector vecDomCntr) Set the map's domain center, or z0 in the notation of the class documentation.void
PhaseMap.setRangeDisplace
(PhaseVector vecRngDspl) Set the map's offset in the range, this is the quantity Δ0 in the class documentation.TraceXalUnitConverter.traceToXalCoordinates
(PhaseVector vecCoords) Converts phase vector values in Trace3D units to values in units used by XAL (MKS).static PhaseMatrix
PhaseMatrix.translation
(PhaseVector vecTrans) Create a phase matrix representing a linear translation operator on homogeneous phase space.ImpactXalUnitConverter.xalToImpactCoordinates
(PhaseVector vecCoords) Converts phase vector values in XAL (MKS) units to values in units used by Trace3D.TraceXalUnitConverter.xalToTraceCoordinates
(PhaseVector vecCoords) Converts phase vector values in XAL (MKS) units to values in units used by Trace3D.Constructors in xal.tools.beam with parameters of type PhaseVectorModifierConstructorDescriptionPhaseMap
(PhaseVector vecDispl) Create a new instance ofPhaseMap
which behaves as simple translation in phase space given by the specified displacement vector.PhaseMap
(PhaseVector vecCntr, PhaseVector vecDspl, PhaseMatrix matLin) Initializing constructor forPhaseMap
class.PhaseVector
(PhaseVector vecInit) Copy Constructor Creates newPhaseVector
object which is a deep copy of the given argument. -
Uses of PhaseVector in xal.tools.beam.calc
Methods in xal.tools.beam.calc that return PhaseVectorModifier and TypeMethodDescriptionprotected PhaseVector
CalculationEngine.calculateFixedPoint
(PhaseMatrix matPhi) Taken fromTransferMapState
.CalculationsOnBeams.computeChromAberration
(EnvelopeProbeState state) Computes the chromatic aberration for one pass around the ring starting at the given state location, or from the entrance to state position for a linear machine.CalculationsOnMachines.computeChromAberration
(TransferMapState state) Computes the chromatic aberration for one pass around the ring starting at the given state location, or from the entrance to state position for a linear machine.CalculationsOnParticles.computeChromAberration
(ParticleProbeState state) Computes the chromatic aberration for one pass of the particle around the ring starting at the given state location, or for a beamline the entrance of the line to this state position.ISimulationResults.ISimLocResults.computeChromAberration
(S state) Compute and return the aberration at the given state location due to energy spread.SimResultsAdaptor.computeChromAberration
(ProbeState<?> state) CalculationsOnBeams.computeChromDispersion
(EnvelopeProbeState state) Convenience function for returning the chromatic dispersion coefficients as defined by D.C.CalculationsOnMachines.computeChromDispersion
(TransferMapState state) Calculates the fixed point (closed orbit) in transverse phase space at the given state location in the presence of dispersion.ISimulationResults.ISimEnvResults.computeChromDispersion
(S state) Calculates the fixed point (closed orbit) in transverse phase space at the given state Sn location sn in the presence of dispersion.SimResultsAdaptor.computeChromDispersion
(ProbeState<?> state) CalculationsOnBeams.computeCoordinatePosition
(EnvelopeProbeState state) Returns the centroid location of the beam envelope.CalculationsOnMachines.computeCoordinatePosition
(TransferMapState state) We return the projective portion of the full-turn transfer map φn : P6 → P6 where n is the index of the given state Sn.CalculationsOnParticles.computeCoordinatePosition
(ParticleProbeState state) Simply returns the location of the simulated particle at the location of the give state.ISimulationResults.ISimLocResults.computeCoordinatePosition
(S state) Returns homogeneous phase space coordinates of something involving the simulation data.SimResultsAdaptor.computeCoordinatePosition
(ProbeState<?> state) CalculationsOnBeams.computeFixedOrbit
(EnvelopeProbeState state) IMPORTANT NOTECalculationsOnMachines.computeFixedOrbit
(TransferMapState state) Get the fixed point at this state location about which betatron oscillations occur.CalculationsOnParticles.computeFixedOrbit
(ParticleProbeState state) IMPORTANT NOTEISimulationResults.ISimLocResults.computeFixedOrbit
(S state) Computes the fixed orbit about which betatron oscillations occur.SimResultsAdaptor.computeFixedOrbit
(ProbeState<?> state) CalculationsOnRings.computeTurnByTurnResponse
(TransferMapState stateInj, TransferMapState stateObs, int cntTurns, PhaseVector vecInj) Computes and returns the turn-by-turn phase positions {zn ∈ R6 × {1} | n=0,...,N-1 } at the given location sobs of state Sobs resulting from a particle injected at location sinj ∈ Sinj with initial phase coordinates zinj.CalculationsOnRings.computeTurnByTurnRespWrtFixedOrbit
(TransferMapState stateInj, TransferMapState stateObs, int cntTurns, PhaseVector vecInj) Computes and returns the turn-by-turn phase positions {zn ∈ R6 × {1} | n=0,...,N-1 } at the given location sobs of state Sobs resulting from a particle injected at location sinj ∈ Sinj with initial phase coordinates zinj.CalculationsOnBeams.periodFixedOrbitPt()
Returns the phase space location of the fixed orbit at the simulation start (which is computed at instantiation) assuming the simulation is that for at least one period of a periodic accelerating or transport section.CalculationsOnParticles.periodFixedOrbitPt()
Returns the phase space location of the fixed point at the simulation start (which is computed at instantiation) assuming the simulation is that for at least one period of a periodic accelerating or transport section.CalculationsOnRings.ringFixedOrbitPt()
Returns the phase space location of the fixed orbit at the ring entrance (which is computed at instantiation).Methods in xal.tools.beam.calc with parameters of type PhaseVectorModifier and TypeMethodDescriptionCalculationsOnRings.computeTurnByTurnResponse
(TransferMapState stateInj, TransferMapState stateObs, int cntTurns, PhaseVector vecInj) Computes and returns the turn-by-turn phase positions {zn ∈ R6 × {1} | n=0,...,N-1 } at the given location sobs of state Sobs resulting from a particle injected at location sinj ∈ Sinj with initial phase coordinates zinj.CalculationsOnRings.computeTurnByTurnRespWrtFixedOrbit
(TransferMapState stateInj, TransferMapState stateObs, int cntTurns, PhaseVector vecInj) Computes and returns the turn-by-turn phase positions {zn ∈ R6 × {1} | n=0,...,N-1 } at the given location sobs of state Sobs resulting from a particle injected at location sinj ∈ Sinj with initial phase coordinates zinj. -
Uses of PhaseVector in xal.tools.beam.ens
Methods in xal.tools.beam.ens that return PhaseVectorModifier and TypeMethodDescriptionParticle.getPhase()
Get the entire (homogeneous) phase space coordinates of particleEnsemble.phaseMean()
Compute the centroid of the ensembleMethods in xal.tools.beam.ens with parameters of type PhaseVectorModifier and TypeMethodDescriptionvoid
Particle.setPhase
(PhaseVector z) Set (homogeneous) phase space coordinates of particleConstructors in xal.tools.beam.ens with parameters of type PhaseVectorModifierConstructorDescriptionParticle
(double q, double m, PhaseVector z) Creates a new instance of Particle
ParticleProbe.getPhaseCoordinates()
but with a misleading name.