Originally designed to read the wav accelerometer data format as stored with the OMGUI software by Axivity Ltd and documented here.
This function has been deprecated as wav files are hardly used, their formatting is not consistent causing ongoing challenges, and the wav format is not well facilitated for AX6 recordings.
readWav(filename, start = 1, end = 100,units="minutes")
rawxyzmatrix with raw x, y, and, z acceleration values
headerfile header
timestampslocal timestamps for rawxyz
filename (required)
start point for reading data, see also units
end point for reading data, see also units
units used for defining start and end
Vincent T van Hees <v.vanhees@accelting.com>
If only start is defined then g.binread will read all data beyond
start until the end of the file is reached