pyActigraphy.io.read_raw_tal¶
- pyActigraphy.io.read_raw_tal(input_fname, name=None, sep=';', frequency=None, start_time=None, period=None, encoding='latin-1')[source]¶
Raw object from .txt file recorded by Tempatilumi (CE Brasil)
- Parameters
input_fname (str) – Path to the Tempatilumi file.
name (str, optional) – Name of the recording. If None, the device UUID is used instead. Default is None.
sep (str, optional) – Delimiter to use. Default is ‘;’.
frequency (str, optional) – Sampling frequency. Cf. #timeseries-offset-aliases in <https://pandas.pydata.org/pandas-docs/stable/timeseries.html>. If None, the sampling frequency is inferred from the data. Otherwise, the data are resampled to the specified frequency. 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).
encoding (str, optional) – Encoding to use for UTF when reading the file. Default is ‘latin-1’.
- Returns
raw – An object containing raw TAL data
- Return type
Instance of RawTAL