public class ArrayAccelDataUnit extends PamDataUnit
Constructor and Description |
---|
ArrayAccelDataUnit(long timeMilliseconds,
java.lang.Double[] voltsRead,
java.lang.Double[] accel) |
Modifier and Type | Method and Description |
---|---|
java.lang.Double[] |
getAcceleration() |
java.lang.Double |
getAcceleration(int dim) |
java.lang.Double |
getPitch(ArrayAccelControl accelControl)
return the pitch in degrees.
|
java.lang.Double |
getRoll(ArrayAccelControl accelControl) |
java.lang.Double[] |
getVoltsRead() |
addDataAnnotation, clearOandAngles, clearUpdateCount, compareTo, findDataAnnotation, getAbsBlockIndex, getChannelBitmap, getDataAnnotation, getDatabaseIndex, getDatabaseUpdateOf, getDataUnitFileInformation, getDetectionMatch, getDetectionMatch, getHydrophoneHeading, getLastUpdateTime, getLocalisation, getNumDataAnnotations, getOriginLatLong, getPairAngle, getParentDataBlock, getSummaryString, getTimeMilliseconds, getUpdateCount, removeDataAnnotation, removeDataAnnotation, setAbsBlockIndex, setChannelBitmap, setDatabaseIndex, setDatabaseUpdateOf, setDataUnitFileInformation, setLastUpdateTime, setLocalisation, setOriginLatLong, setParentDataBlock, setTimeMilliseconds, updateDataUnit
public ArrayAccelDataUnit(long timeMilliseconds, java.lang.Double[] voltsRead, java.lang.Double[] accel)
public java.lang.Double[] getVoltsRead()
public java.lang.Double[] getAcceleration()
public java.lang.Double getAcceleration(int dim)
dim
- dimension, 0, 1 or 2.public java.lang.Double getRoll(ArrayAccelControl accelControl)
public java.lang.Double getPitch(ArrayAccelControl accelControl)