Class ClosedOrbitAnalyzerBean

java.lang.Object
org.scictrl.mp.orbitcorrect.utilities.PropertyChangeSupportable
org.scictrl.mp.orbitcorrect.utilities.ClosedOrbitAnalyzerBean
All Implemented Interfaces:
IBeamTraceProvider

public class ClosedOrbitAnalyzerBean extends PropertyChangeSupportable implements IBeamTraceProvider

ClosedOrbitAnalyzerBean class.

Author:
igor@scictrl.com
  • Field Details

    • BEAM_DISPLACMENT_ARRAY

      public static final int BEAM_DISPLACMENT_ARRAY
      Constant BEAM_DISPLACMENT_ARRAY=1
      See Also:
    • BEAM_DISPLACMENT_LOCATION_ARRAY

      public static final int BEAM_DISPLACMENT_LOCATION_ARRAY
      Constant BEAM_DISPLACMENT_LOCATION_ARRAY=0
      See Also:
    • PROPERTY_ALL_DATA

      public static final String PROPERTY_ALL_DATA
      Constant PROPERTY_ALL_DATA="ALL_DATA"
      See Also:
    • debug

      public static boolean debug
      Constant debug=true
  • Constructor Details

    • ClosedOrbitAnalyzerBean

      public ClosedOrbitAnalyzerBean()
      ClosedOrbitAnalyzerBean constructor comment.
    • ClosedOrbitAnalyzerBean

      public ClosedOrbitAnalyzerBean(DataBush dataBush)

      Constructor for ClosedOrbitAnalyzerBean.

      Parameters:
      dataBush - DataBush
  • Method Details

    • getApproximatedBeamData

      public double[][] getApproximatedBeamData(Orientation orientation)

      Getter for the field approximatedBeamData.

      Parameters:
      orientation - a Orientation object
      Returns:
      double[][][]
    • getBeamTrace

      public double[][] getBeamTrace(Orientation orientation)
      Returns beam trace calculation for given orientation
      Specified by:
      getBeamTrace in interface IBeamTraceProvider
      Parameters:
      orientation - a Orientation object
      Returns:
      double[][]
    • getCorrectorKicks

      public double[] getCorrectorKicks(Orientation orientation)

      Getter for the field correctorKicks.

      Parameters:
      orientation - a Orientation object
      Returns:
      double[][]
    • getCorrectors

      public ElementList<AbstractCorrector> getCorrectors(Orientation orientation)

      Getter for the field correctors.

      Parameters:
      orientation - a Orientation object
      Returns:
      ElementList[]
    • getDataBush

      public DataBush getDataBush()

      Getter for the field dataBush.

      Returns:
      DataBush
    • getEigenvectorsUsed

      public int getEigenvectorsUsed(Orientation orientation)

      Getter for the field eigenvectorsUsed.

      Parameters:
      orientation - a Orientation object
      Returns:
      int
    • getMinimalEigenvalue

      public double getMinimalEigenvalue(Orientation orientation)

      Getter for the field minimalEigenvalue.

      Parameters:
      orientation - a Orientation object
      Returns:
      double
    • getQuadrupoleKicks

      public double[] getQuadrupoleKicks(Orientation orientation)

      Getter for the field quadrupoleKicks.

      Parameters:
      orientation - a Orientation object
      Returns:
      double[][]
    • getQuadrupoles

      public Quadrupole[] getQuadrupoles()

      Getter for the field quadrupoles.

      Returns:
      Quadrupole[][]
    • isAveragedBeamUsed

      public boolean isAveragedBeamUsed()

      isAveragedBeamUsed.

      Returns:
      boolean
    • setAveragedBeamUsed

      public void setAveragedBeamUsed(boolean newAveragedBeamUsed)

      Setter for the field averagedBeamUsed.

      Parameters:
      newAveragedBeamUsed - boolean
    • setMinimalEigenvalue

      public void setMinimalEigenvalue(double newMinimalEigenvalue, Orientation orientation)

      Setter for the field minimalEigenvalue.

      Parameters:
      newMinimalEigenvalue - double
      orientation - a Orientation object
    • updateBeam

      public void updateBeam() throws InconsistentDataException

      updateBeam.

      Throws:
      InconsistentDataException - if any.