pyActigraphy.io.read_raw_agd

pyActigraphy.io.read_raw_agd(input_fname, start_time=None, period=None)[source]

Reader function for raw .agd file recorded by wGT3X-BT (ActiGraph).

Parameters:
  • input_fname (str) – Path to the AGD file.

  • start_time (datetime-like, optional) – Read data from this time. Default is None.

  • period (str, optional) – Length of the read data. Cf. #timeseries-offset-aliases in <https://pandas.pydata.org/pandas-docs/stable/timeseries.html>. Default is None (i.e all the data).

Returns:

raw – An object containing raw AWD data

Return type:

Instance of RawAWD