|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AcquisitionResult
Denotes a concrete result of a single acquisition.
Method Summary | |
---|---|
long |
getAbsoluteLength()
Returns the absolute length of the captured data, or, in other words, the largest available timestamp plus some padding to make the last sample visible. |
int |
getChannels()
Returns the number of channels in the sample data. |
int |
getEnabledChannels()
Returns a bitmask of enabled channels in the sample data. |
int |
getSampleIndex(long aTimeValue)
Returns the sample index from the given absolute time value. |
int |
getSampleRate()
Returns the sample rate in which this data was captured. |
long[] |
getTimestamps()
Returns the time stamps of the individual samples. |
long |
getTriggerPosition()
Returns the trigger position, as (absolute) time-value. |
int[] |
getValues()
Returns the actual sample values. |
boolean |
hasTimingData()
Returns wether or not the object contains timing data |
boolean |
hasTriggerData()
Returns whether or not the object contains trigger data |
Method Detail |
---|
long getAbsoluteLength()
int getChannels()
int getEnabledChannels()
int getSampleIndex(long aTimeValue)
aTimeValue
- the (absolute) time value to convert to a sample index.
int getSampleRate()
long[] getTimestamps()
The time values returned should represent an ever increasing time line. So, timestamp[n-1] < timestamp[n] < timestamp[n+1] for all elements of the returned array.
NOTE: the length of this array must be equal to the length of the
array returned by getValues()
!
getValues()
long getTriggerPosition()
int[] getValues()
NOTE: the length of this array must be equal to the length of the
array returned by getTimestamps()
!
getTimestamps()
boolean hasTimingData()
true
when timing data is availableboolean hasTriggerData()
true
when trigger data is available
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |