public class OrbitMatcher
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Trajectory<TransferMapState> |
_trajectory
trajectory from which to get the transfer matrices
|
protected xal.extension.orbit.BeamPositionTransform |
_xBeamPositionTransform
horizontal beam position transform
|
protected xal.extension.orbit.BeamPositionTransform |
_yBeamPositionTransform
vertical beam position transform
|
Constructor and Description |
---|
OrbitMatcher(AcceleratorNode targetNode,
java.util.List<? extends AcceleratorNode> measuredNodes,
Trajectory<TransferMapState> trajectory)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected static xal.extension.orbit.TransferRow |
extractHorizontalSubMatrix(PhaseMatrix transferMatrix)
extract the horizontal sub matrix
|
protected static xal.extension.orbit.TransferRow |
extractVerticalSubMatrix(PhaseMatrix transferMatrix)
extract the vertical sub matrix
|
double |
getHorizontalTargetBeamPosition(double[] measuredBeamPositions)
get the best matching horizontal beam position in mm at the target node based on the beam position measurements in mm at the measurement nodes
|
protected PhaseMatrix |
getTransferMatrix(AcceleratorNode fromNode,
AcceleratorNode toNode)
get the transfer matrix from the transfer map trajectory
|
double |
getVerticalTargetBeamPosition(double[] measuredBeamPositions)
get the best matching vertical beam position in mm at the target node based on the beam position measurements in mm at the measurement nodes
|
void |
setTrajectory(Trajectory<TransferMapState> trajectory)
set the trajectory
|
protected Trajectory<TransferMapState> _trajectory
protected xal.extension.orbit.BeamPositionTransform _xBeamPositionTransform
protected xal.extension.orbit.BeamPositionTransform _yBeamPositionTransform
public OrbitMatcher(AcceleratorNode targetNode, java.util.List<? extends AcceleratorNode> measuredNodes, Trajectory<TransferMapState> trajectory)
public double getHorizontalTargetBeamPosition(double[] measuredBeamPositions)
public double getVerticalTargetBeamPosition(double[] measuredBeamPositions)
public void setTrajectory(Trajectory<TransferMapState> trajectory)
protected static xal.extension.orbit.TransferRow extractHorizontalSubMatrix(PhaseMatrix transferMatrix)
protected static xal.extension.orbit.TransferRow extractVerticalSubMatrix(PhaseMatrix transferMatrix)
protected PhaseMatrix getTransferMatrix(AcceleratorNode fromNode, AcceleratorNode toNode)