pyActigraphy.io.read_raw_awd¶
- pyActigraphy.io.read_raw_awd(input_fname, header_size=7, frequency=None, start_time=None, period=None, engine='python')[source]¶
Reader function for raw AWD file.
- Parameters
input_fname (str) – Path to the AWD file.
header_size (int, optional) – Header size (i.e. number of lines) of the raw data file. Default is 7.
frequency (str, optional) – Data acquisition frequency to use if it cannot be infered from the header. Cf. #timeseries-offset-aliases in <https://pandas.pydata.org/pandas-docs/stable/timeseries.html>. Default is None.
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).
engine (str, optional) – Parser engine to use. Default is ‘python’.
- Returns
raw – An object containing raw AWD data
- Return type
Instance of RawAWD