pyActigraphy.io.read_raw

pyActigraphy.io.read_raw(input_path, reader_type, n_jobs=1, prefer=None, verbose=0, **kwargs)[source]

Reader function for multiple raw files.

Parameters
  • input_path (str) – Path to the files. Accept wild cards. E.g. ‘/path/to/my/files/*.csv’

  • reader_type (str) –

    Reader type. Supported types:

    • AGD ((w)GT3X(+)), ActiGraph)

    • ATR (ActTrust, Condor Instruments)

    • AWD (ActiWatch 4/7/L/L-Plus/T, CamNtech)

    • BBA (Biobankaccelerometer)

    • DQT (Daqtometers, Daqtix)

    • MESA (MESA dataset, NSRR)

    • MTN (MotionWatch8, CamNtech)

    • RPX (Actiwatch, Respironics)

    • TAL (Tempatilumi, CE Brasil)

  • n_jobs (int) – Number of CPU to use for parallel reading

  • prefer (str) – Soft hint to choose the default backendself. Supported option:’processes’, ‘threads’. See joblib package documentation for more info. Default is None.

  • verbose (int) – Display a progress meter if set to a value > 0. Default is 0.

  • **kwargs – Arbitrary keyword arguments passed to the underlying reader function.

Returns

raw – An object containing raw data

Return type

Instance of RawReader