g.binread: function to read binary files as produced by the...

Description Usage Arguments Details Value Author(s)

Description

For reading the binary data as collected with a Genea accelerometer (Unilever Discover, UK). For reading GENEActive binary data, see package GENEAread.

Usage

1
g.binread(binfile, start = 0, end = 0)

Arguments

binfile

filename (required)

start

start point for reading data, this can either be a timestamp "year-month-day hr:min:sec" or a page number (optional)

end

end point for reading data, this can either be a timestamp "year-month-day hr:min:sec" or a page number (optional)

Details

If only start is defined then g.binread will read all data beyond start until the end of the file is reached

Value

rawxyz

matrix with raw x, y, and, z acceleration values

header

file header

timestamps1

timestamps for rawxyz in seconds since 1970-01-01 00:00

timestamps2

timestamps for rawxyz in day time format

batt.voltage

matrix with battery voltage and corresponding timestamps

Author(s)

Vincent T van Hees <vincentvanhees@gmail.com> Jing Hua Zhao <jinghua.zhao@mrc-epid.cam.ac.uk>


ucl-cls/mcs-acc documentation built on May 3, 2019, 2:22 p.m.