|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.sns.xal.model.probe.Probe
|
+--gov.sns.xal.model.probe.BeamProbe
|
+--gov.sns.xal.model.probe.EnvelopeProbe
EnvelopeProbe represents the RMS beam evelopes of a beam. Specifically, the
state of this probe is the 7x7 matrix of homogeneous phase space moments up to, and including
second order. This is the correlation matrix for the beam and is represented as
matChi = <z*z^T>
where z=(x,x',y,y',z,z',1) is the vector of homogeneous phase space coordinates, and
<.> is the moment operator with respect to the beam distribution.
| Field Summary |
| Fields inherited from class gov.sns.xal.model.probe.Probe |
PROBE_LABEL |
| Fields inherited from interface gov.sns.xal.model.IProbe |
LightSpeed, Permittivity, UnitCharge |
| Constructor Summary | |
EnvelopeProbe()
Default Constructor. |
|
EnvelopeProbe(EnvelopeProbe probe)
Copy constructor - clones the argument |
|
| Method Summary | |
void |
applyState(ProbeState state)
Apply the contents of ProbeState to update my current state. |
ProbeState |
createProbeState()
Creates a snapshot of the current state and returns it as a ProbeState
object of the proper type. |
Trajectory |
createTrajectory()
Creates a Trajectory object of the proper type for saving the
probe's history. |
R3 |
getBetatronPhase()
Returns the betatron phase with space charge for all three phase planes. |
PhaseMatrix |
getResponseMatrix()
Get the first-order response matrix accumulated by the Envelope since its initial state. |
Twiss[] |
getTwiss()
returns an array of Twiss objects for the probe |
CorrelationMatrix |
phaseCorrelation()
Returns the correlation matrix (chi matrix) for the beam in homogeneous phase space coordinates. |
void |
setBetatronPhase(R3 vecPhase)
Set the betatron phase with space charge for each phase plane. |
void |
setCorrelation(CorrelationMatrix matChi)
Set the correlation matrix for this probe (7x7 matrix in homogeneous coordinates). |
void |
setResponseMatrix(PhaseMatrix matResp)
Set the first-order response matrix accumulated by the Envelope since its initial state. |
void |
setTwiss(Twiss[] twiss)
Set the twiss parameters for each phase plane. |
void |
updateTwiss(PhaseMatrix R)
Advance the twiss parameters using the present response matrix Use formula 2.54 from S.Y. |
| Methods inherited from class gov.sns.xal.model.probe.BeamProbe |
beamPerveance, getBeamCharge, getBeamCurrent, phaseCovariance, phaseMean, setBeamCharge, setBeamCurrent |
| Methods inherited from class gov.sns.xal.model.probe.Probe |
computeBetaFromGamma, computeGammaFromBeta, computeGammaFromW, deepCopyProbeBase, getAlgorithm, getArchive, getBeta, getBetaGamma, getComment, getCurrentElement, getGamma, getKineticEnergy, getPosition, getSpeciesCharge, getSpeciesRestEnergy, getTime, getTimestamp, getTrajectory, initialize, load, newProbeInitializedFrom, readFrom, reset, save, setAlgorithm, setComment, setCurrentElement, setKineticEnergy, setPosition, setSpeciesCharge, setSpeciesRestEnergy, setTime, setTimestamp, setTracking, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EnvelopeProbe()
public EnvelopeProbe(EnvelopeProbe probe)
probe - EnvelopeProbe object to be cloned| Method Detail |
public void setCorrelation(CorrelationMatrix matChi)
matChi - new phase space covariant matrix of this probeCorrelationMatrixpublic void setBetatronPhase(R3 vecPhase)
vecPhase - vector (psix,psiy,psiz) of betratron phases in radianspublic void setTwiss(Twiss[] twiss)
twiss - array of Twiss objects for H, V , long. directionspublic void setResponseMatrix(PhaseMatrix matResp)
matResp - first-order response matrix in homogeneous coordinatespublic CorrelationMatrix phaseCorrelation()
phaseCorrelation in class BeamProbePhaseMatrixpublic R3 getBetatronPhase()
public Twiss[] getTwiss()
public PhaseMatrix getResponseMatrix()
public ProbeState createProbeState()
ProbeState
object of the proper type.
createProbeState in class ProbeEnvelopeProbeState encapsulating the probe's current statepublic Trajectory createTrajectory()
Trajectory object of the proper type for saving the
probe's history.
createTrajectory in class ProbeEnvelopeTrajectory objectpublic void applyState(ProbeState state)
EnvelopeProbeState.
applyState in class BeamProbestate - ProbeState object containing new probe state data
java.lang.IllegalArgumentException - wrong ProbeState subtype for this probepublic void updateTwiss(PhaseMatrix R)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||