Class ParticleCurve

java.lang.Object
xal.extension.widgets.plot.BasicGraphData
xal.extension.widgets.olmplot.ParticleCurve

public class ParticleCurve extends BasicGraphData
Graphics object representing a curve in a {
Since:
Nov 26, 2012
Author:
Christopher K. Allen
  • Constructor Details

    • ParticleCurve

      public ParticleCurve(PLANE plane)
      Creates an empty data object representing the RMS beam envelope for the given phase plane. The curve object must be subsequently defined using the method loadCurve(Trajectory).
      Parameters:
      plane - phase plane of the rms envelope curve
      Since:
      Nov 26, 2012
    • ParticleCurve

      public ParticleCurve(PLANE plane, Trajectory<ParticleProbeState> trjPrt) throws IllegalArgumentException
      Creates the basic data object representing a curve on a graph. The curve is constructed from the given trajectory data for the given phase plane.
      Parameters:
      plane - phase plane of the rms envelope curve
      trjPrt - object containing the data for the curve
      Throws:
      IllegalArgumentException - the argument trjEnv is not a particle trajectory object
      Since:
      Nov 26, 2012
  • Method Details

    • loadCurve

      public void loadCurve(Trajectory<ParticleProbeState> trjSim) throws IllegalArgumentException
      Defines the graphics curve according to the RMS envelope trajectory data in the given Trajectory object.
      Parameters:
      trjSim - online model simulation trajectory containing curve data
      Throws:
      IllegalArgumentException - the argument is not a particle trajectory object
      Since:
      Nov 26, 2012