Package xal.app.knobs

Class BumpShapeAdaptor


  • public abstract class BumpShapeAdaptor
    extends Object
    adaptor for generating bumps of specific shapes
    • Field Detail

      • _bumpOffsetAdaptor

        protected static xal.app.knobs.BumpOffsetAdaptor _bumpOffsetAdaptor
        bump offset adaptor
      • _bumpAngleAdaptor

        protected static xal.app.knobs.BumpAngleAdaptor _bumpAngleAdaptor
        bump angle adaptor
    • Constructor Detail

      • BumpShapeAdaptor

        public BumpShapeAdaptor()
    • Method Detail

      • getBumpOffsetAdaptor

        public static xal.app.knobs.BumpOffsetAdaptor getBumpOffsetAdaptor()
        get the bump offset adaptor instance
      • getBumpAngleAdaptor

        public static xal.app.knobs.BumpAngleAdaptor getBumpAngleAdaptor()
        get the bump angle adaptor instance
      • getLabel

        public abstract String getLabel()
        get the label
      • getMinimumElementCount

        public abstract int getMinimumElementCount()
        get the minimum number of elements for the particular shape
      • getAmplitudeScale

        public abstract double getAmplitudeScale()
        get the amplitude scale of the distortion per unit of knob
      • getOrbit

        public abstract double[] getOrbit​(xal.tools.beam.calc.SimResultsAdaptor simulator,
                                          PlaneAdaptor planeAdaptor,
                                          xal.model.probe.traj.ProbeState<?> bumpState,
                                          xal.model.probe.traj.ProbeState<?> endState,
                                          int elementCount)
        get the orbit
      • getOrbitSize

        public int getOrbitSize​(int elementCount)
        get the orbit size for the specified element count