Package xal.app.knobs
Class BumpShapeAdaptor
- java.lang.Object
-
- xal.app.knobs.BumpShapeAdaptor
-
public abstract class BumpShapeAdaptor extends Object
adaptor for generating bumps of specific shapes
-
-
Field Summary
Fields Modifier and Type Field Description protected static xal.app.knobs.BumpAngleAdaptor_bumpAngleAdaptorbump angle adaptorprotected static xal.app.knobs.BumpOffsetAdaptor_bumpOffsetAdaptorbump offset adaptor
-
Constructor Summary
Constructors Constructor Description BumpShapeAdaptor()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract doublegetAmplitudeScale()get the amplitude scale of the distortion per unit of knobstatic xal.app.knobs.BumpAngleAdaptorgetBumpAngleAdaptor()get the bump angle adaptor instancestatic xal.app.knobs.BumpOffsetAdaptorgetBumpOffsetAdaptor()get the bump offset adaptor instanceabstract StringgetLabel()get the labelabstract intgetMinimumElementCount()get the minimum number of elements for the particular shapeabstract 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 orbitintgetOrbitSize(int elementCount)get the orbit size for the specified element count
-
-
-
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
-
-