Inspects accelerometer file for key information, including: monitor brand, sample frequency and file header
g.inspectfile(datafile, desiredtz = c())
name of data file
Desired timezone, see documentation g.getmeta
fileheader
monitor name (genea, geneactive)
monitor brand code (1 = genea; 2 = geneactive, 3 = actigraph)
data format (bin, csv)
data format code (1 = bin, 2 = csv)
samplefrequency in Hertz
filename