public class RawSourceECG extends SourceECG
A class that encapsulates the features and values from a raw ECG source, usually for the purpose of displaying it.
amplitudeScalingFactorInMilliVolts, channelNames, displaySequence, nSamplesPerChannel, numberOfChannels, samples, samplingIntervalInMilliSeconds, title
Constructor and Description |
---|
RawSourceECG(BinaryInputStream i,
int numberOfChannels,
int nSamplesPerChannel,
float samplingIntervalInMilliSeconds,
float amplitudeScalingFactorInMilliVolts,
boolean interleaved)
Construct ECG from a raw data an input stream (such as from a file or the network).
|
buildInstanceTitle, buildPreferredDisplaySequence, buildPreferredDisplaySequence, findLead, getAmplitudeScalingFactorInMilliVolts, getChannelNames, getDisplaySequence, getNumberOfChannels, getNumberOfSamplesPerChannel, getSamples, getSamplingIntervalInMilliSeconds, getTitle
public RawSourceECG(BinaryInputStream i, int numberOfChannels, int nSamplesPerChannel, float samplingIntervalInMilliSeconds, float amplitudeScalingFactorInMilliVolts, boolean interleaved) throws java.io.IOException
Construct ECG from a raw data an input stream (such as from a file or the network).
i
- the input streamnumberOfChannels
- the number of channels (leads)nSamplesPerChannel
- the number of samples per channel (same for all channels)samplingIntervalInMilliSeconds
- the sampling interval (duration of each sample) in millisecondsamplitudeScalingFactorInMilliVolts
- how many millivolts per unit of sample data (may be different for each channel)interleaved
- true if the channels are interleaved, false if successivejava.io.IOException