SCCT.JavaSubscriber
Class SCCT_AnalogDataPackage

java.lang.Object
  extended by SCCT.JavaSubscriber.SCCT_AbstractPackage
      extended by SCCT.JavaSubscriber.SCCT_AbstractDataPackage
          extended by SCCT.JavaSubscriber.SCCT_AnalogDataPackage

public class SCCT_AnalogDataPackage
extends SCCT_AbstractDataPackage

This class represents an analog data package. It contains a matrix of double which represent sampled values.
The channels are ordered in the same way in which are ordered in the SCCT_ConfigurationPackage.


Method Summary
 double[][] getData()
          Gets the data of all channels in a matrix of double.
 short getFilterId()
          Returns the id of filter applied on this package.
 int getNumOfChannels()
          Gets the total number of channels (row count of double matrix).
 int getSamples()
          Gets the number of sampled values for any channel (column count of double matrix).
 
Methods inherited from class SCCT.JavaSubscriber.SCCT_AbstractDataPackage
getSourceDescription, getSourceId
 
Methods inherited from class SCCT.JavaSubscriber.SCCT_AbstractPackage
getCalendar, getPackageNumber
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNumOfChannels

public int getNumOfChannels()
Gets the total number of channels (row count of double matrix).

Returns:
The number of channels.

getSamples

public int getSamples()
Gets the number of sampled values for any channel (column count of double matrix).

Returns:
The number or sampled values.

getData

public double[][] getData()
Gets the data of all channels in a matrix of double.
Every row represents a channel, and every column represents a datum of that channel.
The channels are ordered in the same way in which are ordered in the SCCT_ConfigurationPackage.

Returns:
a matrix of double that contains the data of all channels.
See Also:
getNumOfChannels(), SCCT_ConfigurationPackage

getFilterId

public short getFilterId()
Returns the id of filter applied on this package.

Returns:
the filetId of applied filter.
See Also:
SCCT_AnalogDataFilter