Class SCPSourceECG


  • public class SCPSourceECG
    extends SourceECG

    A class that encapsulates the features and values from an SCP ECG source, usually for the purpose of displaying it.

    • Constructor Detail

      • SCPSourceECG

        public SCPSourceECG​(BinaryInputStream i,
                            boolean deriveAdditionalLeads)
                     throws java.io.IOException

        Construct an ECG source from SCP-ECG data an input stream (such as from a file or the network).

        Parameters:
        i - the input stream
        deriveAdditionalLeads - if true, compute extra unipolar leads when necessary (i.e. make 12 from 8)
        Throws:
        java.io.IOException
      • SCPSourceECG

        public SCPSourceECG​(SCPECG scpecg,
                            boolean deriveAdditionalLeads)
                     throws java.io.IOException

        Construct an ECG source from an SCP-ECG instance.

        Parameters:
        scpecg - the input stream
        deriveAdditionalLeads - if true, compute extra unipolar leads when necessary (i.e. make 12 from 8)
        Throws:
        java.io.IOException
    • Method Detail

      • buildInstanceTitle

        protected static java.lang.String buildInstanceTitle​(SCPECG scpecg)