uos_activpal.io.raw.ActivpalData

class uos_activpal.io.raw.ActivpalData(file_path)[source]

An object to wrap activPAL data.

TODO()

See also

load_activpal_data
Returns the data from an activPAL data file as a tuple (metadata, signals).
__init__(file_path)[source]

Create an instance of an activpal_data object.

Parameters:file_path (str) – The path to an activPAL raw data file.

Methods

__init__(file_path) Create an instance of an activpal_data object.

Attributes

data pandas.DataFrame – Depricated - use signals.
metadata namedtuple – The information extracted from the files header.
rss pandas.Series – The Root Sum of Squares of the x, y, z axes.
signals pandas.DataFrame – The sensor signals.
timestamps pandas.DatetimeIndex – The timestams of the signals.
x pandas.Series – The signal from the x axis.
y pandas.Series – The signal from the y axis.
z pandas.Series – The signal from the z axis.