Class Blockette200

All Implemented Interfaces:
Serializable

public class Blockette200 extends DataBlockette
See Also:
  • Constructor Details

    • Blockette200

      public Blockette200(float signal, float period, float background, Btime signalOnset, String eventDetector)
    • Blockette200

      public Blockette200(byte[] info, boolean swapBytes) throws SeedFormatException
      Throws:
      SeedFormatException
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in class Blockette
    • getSize

      public int getSize()
      Specified by:
      getSize in class Blockette
    • getType

      public int getType()
      Specified by:
      getType in class Blockette
    • getSignal

      public float getSignal()
      Returns:
      - the signal amplitude field
    • getPeriod

      public float getPeriod()
      Returns:
      - the signal period field
    • getBackground

      public float getBackground()
      Returns:
      - the background estimate field
    • getSignalOnset

      public Btime getSignalOnset()
      Returns:
      - the signal onset time field
    • getEventDetector

      public String getEventDetector()
    • writeASCII

      public void writeASCII(PrintWriter out)
      Description copied from class: Blockette
      Writes an ASCII version of the blockette. This is not meant to be a definitive ascii representation, merely to give something to print for debugging purposes. Ideally each field of each blockette should be printed in the order they appear in the blockette in a visually appealing way.
      Specified by:
      writeASCII in class Blockette
      Parameters:
      out - a Writer
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object