Class TimeEstimatorBase

java.lang.Object
gda.scan.ede.timeestimators.TimeEstimatorBase
All Implemented Interfaces:
EdeTimeEstimate
Direct Known Subclasses:
LinearExperimentTimeEstimator, SingleExperimentTimeEstimator

public abstract class TimeEstimatorBase extends Object implements EdeTimeEstimate
  • Constructor Details

    • TimeEstimatorBase

      public TimeEstimatorBase()
  • Method Details

    • estimateScanDuration

      protected Double estimateScanDuration(EdeScanParameters scanParameters)
      Sum all the integration time of all the delays and integrations, assuming no external delays from external triggers.
      Parameters:
      scanParameters -
      Returns:
      time in seconds
    • estimateOneFrameFromEachGroupDuration

      protected Double estimateOneFrameFromEachGroupDuration(EdeScanParameters scanParameters)
      Sum of the integration time of one frame from each timing group with no delays and no triggers. These are the integrations which would be performed to collect dark, I0 or Iref data to normalise the It data.
      Parameters:
      scanParameters -
      Returns:
      time in seconds
    • estimateMovementDuration

      protected Double estimateMovementDuration(EdeScanPosition startPosition, EdeScanPosition endPosition)
      Not simply the duration of the actual movement, but includes overhead of communicating to the motors via the control system.
      Parameters:
      startPosition -
      endPosition -
      Returns:
      time in seconds