Class Section4

java.lang.Object
com.pixelmed.scpecg.Section
com.pixelmed.scpecg.Section4

public class Section4 extends Section

A class to encapsulate the SCP-ECG QRS Locations section.

  • Constructor Details

  • Method Details

    • getSectionName

      public String getSectionName()

      Get a string name for this section.

      Overrides:
      getSectionName in class Section
      Returns:
      a string name for this section
    • getLengthOfReferenceBeat0DataInMilliSeconds

      public int getLengthOfReferenceBeat0DataInMilliSeconds()
    • getSampleNumberOfQRSOfFiducial

      public int getSampleNumberOfQRSOfFiducial()
    • getTotalNumberOfQRSComplexes

      public int getTotalNumberOfQRSComplexes()
    • getBeatType

      public int[] getBeatType()
    • getSampleNumberOfResidualToStartSubtractingQRS

      public long[] getSampleNumberOfResidualToStartSubtractingQRS()
    • getSampleNumberOfResidualOfFiducial

      public long[] getSampleNumberOfResidualOfFiducial()
    • getSampleNumberOfResidualToEndSubtractingQRS

      public long[] getSampleNumberOfResidualToEndSubtractingQRS()
    • getSampleNumberOfResidualToStartProtectedArea

      public long[] getSampleNumberOfResidualToStartProtectedArea()
    • getSampleNumberOfResidualToEndProtectedArea

      public long[] getSampleNumberOfResidualToEndProtectedArea()
    • read

      public long read(BinaryInputStream i) throws IOException
      Description copied from class: Section

      Read the remainder of the section from a stream.

      Overrides:
      read in class Section
      Parameters:
      i - the input stream
      Returns:
      the number of bytes read
      Throws:
      IOException
    • toString

      public String toString()
      Description copied from class: Section

      Dump the section as a String.

      Overrides:
      toString in class Section
      Returns:
      the section as a String
    • validate

      public String validate()
      Description copied from class: Section

      Validate the section against the standard.

      Overrides:
      validate in class Section
      Returns:
      the validation results as a String
    • getTree

      public SCPTreeRecord getTree(SCPTreeRecord parent)

      Get the contents of the section as a tree for display, constructing it if not already done.

      Overrides:
      getTree in class Section
      Parameters:
      parent - the node to which this section is to be added if it needs to be created de novo
      Returns:
      the section as a tree