pyActigraphy.io.read_raw_mtn¶
- pyActigraphy.io.read_raw_mtn(input_fname, start_time=None, period=None, data_dtype=<class 'int'>, light_dtype=<class 'float'>)[source]¶
Reader function for raw MTN file.
- Parameters
input_fname (str) – Path to the MTN file.
start_time (datetime-like str) – If not None, the start_time will be used to slice the data. Default is None.
period (str) – Default is None.
data_dtype (dtype) – The dtype of the raw data. Default is np.int.
light_dtype (dtype) – The dtype of the raw light data. Default is np.float.
- Returns
raw – An object containing raw MTN data
- Return type
Instance of RawMTN