Package gpl

Class GPLStateDataUnit

All Implemented Interfaces:
Comparable

public class GPLStateDataUnit extends PamDataUnit
  • Constructor Details

    • GPLStateDataUnit

      public GPLStateDataUnit(long timeMilliseconds, int sequenceNum, int channelMap, double baseline, double ceilnoise, double threshfloor, int peakState)
      Constructor that sets both channel map and sequence map for this data unit
      Parameters:
      timeMilliseconds -
      sequenceNum -
      channelMap -
      baseline -
      ceilnoise -
      threshfloor -
      peakState -
    • GPLStateDataUnit

      public GPLStateDataUnit(DataUnitBaseData baseData, double baseline, double ceilnoise, double threshfloor, int peakState)
      constructor used reading back from binary files.
      Parameters:
      baseData -
      baseline -
      ceilnoise -
      threshfloor -
      peakState -
    • GPLStateDataUnit

      @Deprecated public GPLStateDataUnit(long timeMilliseconds, int channel, double baseline, int peakState)
      Deprecated.
      Constructor that sets only channel map for this unit
      Parameters:
      timeMilliseconds -
      channel -
      baseline -
      peakState -
  • Method Details

    • getCeilnoise

      public double getCeilnoise()
      Returns:
      the ceilnoise
    • getThreshfloor

      public double getThreshfloor()
      Returns:
      the threshfloor
    • getBaseline

      public double getBaseline()
      Returns:
      the baseline
    • getPeakState

      public int getPeakState()
      Returns:
      the peakState