org.sdas.core.userdata
Class TimeTrace

java.lang.Object
  extended by org.sdas.core.userdata.BasicUserData
      extended by org.sdas.core.userdata.TimeTrace
All Implemented Interfaces:
IUserData

public class TimeTrace
extends BasicUserData


Field Summary
 
Fields inherited from class org.sdas.core.userdata.BasicUserData
axis, data_type, DATA_TYPE_PROFILE, DATA_TYPE_TIME_TRACE, paramData
 
Fields inherited from interface org.sdas.core.userdata.IUserData
IMAGE, PROFILE, TIME_TRACE
 
Constructor Summary
TimeTrace()
          Creates a new instance of TimeTrace
 
Method Summary
 float[] getSignalData()
          Gets an array of floats with the signal samples
 java.lang.String getSignalMagnitude()
          Gets the Magnitude of the signal measured
 java.lang.String getSignalUnit()
           
 float[] getTimeData()
          Gets an array of floats with the time value for each signal sample
 java.lang.String getTimeMagnitude()
          Gets the magnitude of X axis (always is time for time_trace signals)
 java.lang.String getTimeUnit()
          Gets the unit of measurement of time
 
Methods inherited from class org.sdas.core.userdata.BasicUserData
addExtraInfo, getAxis, getData, getDataType, getEvents, getExtraInfo, getMimeType, getParameterUniqueID, getTEnd, getTStart, setAxis, setDataType, setEvents, setExtraInfo, setMimeType, setParamData, setParameterUniqueID, setTEnd, setTStart, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeTrace

public TimeTrace()
Creates a new instance of TimeTrace

Method Detail

getTimeMagnitude

public java.lang.String getTimeMagnitude()
Gets the magnitude of X axis (always is time for time_trace signals)


getTimeUnit

public java.lang.String getTimeUnit()
Gets the unit of measurement of time


getSignalMagnitude

public java.lang.String getSignalMagnitude()
Gets the Magnitude of the signal measured


getSignalUnit

public java.lang.String getSignalUnit()

getTimeData

public float[] getTimeData()
Gets an array of floats with the time value for each signal sample

Returns:
the array of time values in float array format

getSignalData

public float[] getSignalData()
Gets an array of floats with the signal samples

Returns:
the array of signal values in float array format