Uses of Class
xal.tools.beam.Twiss
Packages that use Twiss
Package
Description
Contains classes for representing particle beams
and various aspects and properties of particle beams.
-
Uses of Twiss in xal.extension.jels
Methods in xal.extension.jels with parameters of type TwissModifier 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 Twiss in xal.extension.jels.model.probe
Methods in xal.extension.jels.model.probe that return TwissMethods in xal.extension.jels.model.probe with parameters of type Twiss -
Uses of Twiss in xal.extension.tracewinimporter
Methods in xal.extension.tracewinimporter that return TwissModifier and TypeMethodDescriptionTwiss[]
IniFileParser.getInitialTwiss()
Twiss[]
TraceWin.getInitialTwiss()
Methods in xal.extension.tracewinimporter with parameters of type Twiss -
Uses of Twiss in xal.model.probe
Methods in xal.model.probe that return TwissModifier and TypeMethodDescriptionTwissProbe.getTwiss
(Twiss3D.IND_3D iPlane) Returns the Twiss parameters for the given phase plane.Methods in xal.model.probe with parameters of type TwissModifier and TypeMethodDescriptionvoid
EnvelopeProbe.initFromTwiss
(Twiss[] twiss) Set the Twiss parameters for each phase plane.void
TwissProbe.setTwiss
(Twiss3D.IND_3D iPlane, Twiss twiss) Set the Twiss parameters for the given phase plane. -
Uses of Twiss in xal.model.probe.traj
Methods in xal.model.probe.traj that return TwissModifier and TypeMethodDescriptionTwiss[]
TwissProbeState.getTwiss()
Returns the array of Twiss parameters for this state for all three planes.TwissProbeState.getTwiss
(Twiss3D.IND_3D iPlane) Returns the Twiss parameters for the given phase plane.Twiss[]
EnvelopeProbeState.twissParameters()
Return the twiss parameters for this state calculated from the covariance matrix.Methods in xal.model.probe.traj with parameters of type TwissModifier and TypeMethodDescriptionvoid
TwissProbeState.setTwiss
(Twiss3D.IND_3D iPlane, Twiss twiss) Set the Twiss parameters for the given phase plane. -
Uses of Twiss in xal.tools.beam
Methods in xal.tools.beam that return TwissModifier and TypeMethodDescriptionTwiss[]
CovarianceMatrix.computeTwiss()
Return the Twiss parameters for each plane that correspond to the current correlation matrix.static Twiss
Twiss.createFromCovarianceMatrix
(double[][] arrCov) Create a new set ofTwiss
parameters from the given covariance matrix.static Twiss
Twiss.createFromEquivalentBeam
(double dblEnvRad, double dblEnvSlp, double dblEmit) Creates a newTwiss
object given the parameters of the equivalent uniform beam.static Twiss
Twiss.createFromMoments
(double dblMmtSigX, double dblMmtCov, double dblMmtSigXp) Creates a newTwiss
object initialized by the given set of central, second-order moments of the beam in whatever phase plane.Twiss[]
Twiss3D.getTwiss()
Returns the array of Twiss parameters for this distribution for all three planes.Twiss3D.getTwiss
(Twiss3D.IND_3D iPlane) Returns the Twiss parameters for the given phase plane.ImpactXalUnitConverter.impactToXalLongitudinal
(Twiss impactTwiss) Converts Twiss parameters in Trace3D units to XAL (MKS) units for the longitudinal phase planes.ImpactXalUnitConverter.impactToXalTransverse
(Twiss impactTwiss) Converts Twiss parameter in Trace3D units to XAL (MKS) units for the transverse phase planes.TraceXalUnitConverter.traceToXalLongitudinal
(Twiss t3dTwiss) Converts Twiss parameters in Trace3D units to XAL (MKS) units for the longitudinal phase planes.TraceXalUnitConverter.traceToXalTransverse
(Twiss t3dTwiss) Converts Twiss parameter in Trace3D units to XAL (MKS) units for the transverse phase planes.Twiss[]
ImpactXalUnitConverter.twissParametersFromXal
(CovarianceMatrix mat) Computes and return the Twiss parameters for each plane that correspond to the given correlation matrix.Twiss[]
TraceXalUnitConverter.twissParametersFromXal
(CovarianceMatrix mat) Computes and return the Twiss parameters for each plane that correspond to the given correlation matrix.ImpactXalUnitConverter.xalToImpactLongitudinal
(Twiss twissXal) Converts Twiss parameters in XAL (MKS) units to Trace3D units for the longitudinal phase planes.ImpactXalUnitConverter.xalToImpactTransverse
(Twiss twissXal) Converts Twiss parameter in XAL (MKS) units to Trace3D units for the transverse phase planes.TraceXalUnitConverter.xalToTraceLongitudinal
(Twiss twissXal) Converts Twiss parameters in XAL (MKS) units to Trace3D units for the longitudinal phase planes.TraceXalUnitConverter.xalToTraceTransverse
(Twiss twissXal) Converts Twiss parameter in XAL (MKS) units to Trace3D units for the transverse phase planes.Methods in xal.tools.beam with parameters of type TwissModifier and TypeMethodDescriptionstatic CovarianceMatrix
CovarianceMatrix.buildCovariance
(Twiss twissX, Twiss twissY, Twiss twissZ) Create a PhaseMatrix that is the correlation matrix corresponding to the given Twiss parameters.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).ImpactXalUnitConverter.correlationMatrixFromT3d
(Twiss t3dX, Twiss t3dY, Twiss t3dZ) Builds a correlation matrix from Twiss parameters in the three phase planes.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) 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.double
Twiss.PROP.getPropertyValue
(Twiss data) Using reflection, we return the value of the field that this enumeration constant represents, within the given data structure.ImpactXalUnitConverter.impactToXalLongitudinal
(Twiss impactTwiss) Converts Twiss parameters in Trace3D units to XAL (MKS) units for the longitudinal phase planes.ImpactXalUnitConverter.impactToXalTransverse
(Twiss impactTwiss) Converts Twiss parameter in Trace3D units to XAL (MKS) units for the transverse phase planes.void
Twiss3D.setTwiss
(Twiss3D.IND_3D iPlane, Twiss twiss) Set the Twiss parameters for the given phase plane.TraceXalUnitConverter.traceToXalLongitudinal
(Twiss t3dTwiss) Converts Twiss parameters in Trace3D units to XAL (MKS) units for the longitudinal phase planes.TraceXalUnitConverter.traceToXalTransverse
(Twiss t3dTwiss) Converts Twiss parameter in Trace3D units to XAL (MKS) units for the transverse phase planes.ImpactXalUnitConverter.xalToImpactLongitudinal
(Twiss twissXal) Converts Twiss parameters in XAL (MKS) units to Trace3D units for the longitudinal phase planes.ImpactXalUnitConverter.xalToImpactTransverse
(Twiss twissXal) Converts Twiss parameter in XAL (MKS) units to Trace3D units for the transverse phase planes.TraceXalUnitConverter.xalToTraceLongitudinal
(Twiss twissXal) Converts Twiss parameters in XAL (MKS) units to Trace3D units for the longitudinal phase planes.TraceXalUnitConverter.xalToTraceTransverse
(Twiss twissXal) Converts Twiss parameter in XAL (MKS) units to Trace3D units for the transverse phase planes.Constructors in xal.tools.beam with parameters of type TwissModifierConstructorDescriptionCopy constructor: creates a deep copy of the argument.Initializing constructor forTwiss3D
.Initializing Constructor: Create a newTwiss3D
object and initialize to the given argument values. -
Uses of Twiss in xal.tools.beam.calc
Methods in xal.tools.beam.calc that return TwissModifier and TypeMethodDescriptionprotected Twiss[]
CalculationEngine.calculateMatchedTwiss
(PhaseMatrix matPhiCell) Taken fromTransferMapState
.Twiss[]
CalculationsOnRings.computeMatchedTwissAt
(TransferMapState state) Calculates the matched Courant-Snyder parameters for the given state location.Twiss[]
CalculationsOnBeams.computeTwissParameters
(EnvelopeProbeState state) Returns the Courant-Snyder parameters of the beam envelope at the location of the given probe state.Twiss[]
CalculationsOnMachines.computeTwissParameters
(TransferMapState state) Computes the closed orbit Twiss parameters at this state location representing the matched beam envelope when treating the trajectory as a lattice of periodic cells.Twiss[]
ISimulationResults.ISimEnvResults.computeTwissParameters
(S state) Returns the array of twiss objects for this state for all three planes at the location of the given simulation state.Twiss[]
SimResultsAdaptor.computeTwissParameters
(ProbeState<?> state) Twiss[]
CalculationsOnMachines.getMatchedTwiss()
Returns the collection of matched Courant-Snyder parameters for each phase plane.Twiss[]
CalculationsOnBeams.periodMatchedTwiss()
Returns the matched Courant-Snyder parameters at the entrance of the simulation assuming the simulation is for at least one period of a periodic structure.Twiss[]
CalculationsOnParticles.periodMatchedTwiss()
Returns the matched Courant-Snyder parameters at the entrance of the simulation assuming the simulation is at least one period of a periodic structure.Twiss[]
CalculationsOnRings.ringMatchedTwiss()
Returns the matched Courant-Snyder parameters at the "entrance" of the ring.Methods in xal.tools.beam.calc with parameters of type TwissModifier and TypeMethodDescriptionprotected R3
CalculationEngine.calculatePhaseAdvance
(PhaseMatrix matPhi, Twiss[] twsInit, Twiss[] twsFinal) Taken fromTransferMapState
.