Interface CalibratedAxesProvider

All Known Implementing Classes:
AbstractCalibratedAxesProvider, BeamPositionCalibration, BinnedPixelCalibration, CameraOffsetCalibration, CsvCameraOffsetCalibration, PixelCalibration, PositionerDeterminedCalibration

public interface CalibratedAxesProvider
Provides calibration for data streams
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the stream connection has been established.
    void
    Called when the stream connection has been closed.
    org.eclipse.january.dataset.IDataset
    Returns a calibrated horizontal axis.
    org.eclipse.january.dataset.IDataset
    Returns a calibrated vertical axis.
    void
    resizeStream(int[] newShape)
    Called when the stream data changes shape ([y, x])
  • Method Details

    • connect

      void connect()
      Called when the stream connection has been established. There is no need to do work until this point
    • disconnect

      void disconnect()
      Called when the stream connection has been closed. No more work is needed, listeners can be disposed, etc.
    • getXAxisDataset

      org.eclipse.january.dataset.IDataset getXAxisDataset()
      Returns a calibrated horizontal axis. Called with each new frame.
    • getYAxisDataset

      org.eclipse.january.dataset.IDataset getYAxisDataset()
      Returns a calibrated vertical axis. Called with each new frame.
    • resizeStream

      void resizeStream(int[] newShape)
      Called when the stream data changes shape ([y, x])