RawReader class

class pyActigraphy.io.RawReader(reader_type, readers=[])[source]

Reader for multiple Raw files

Parameters

readers (list) – List of instances of RawXXX classes

property activity_report

Activity report accessor

apply_sst(verbose=False)[source]

Set start time and duration in all readers

create_activity_report(*args, **kwargs)[source]

Activity report.

Create an activity report with the fraction of time spent with an activity level comprised between the specified cut-points.

Parameters
  • *args – Variable length argument list passed to the individual create_activity_report function.

  • **kwargs – Arbitrary keyword arguments passed to the individual create_activity_report function.

read_sst_log(input_fname, *args, **kwargs)[source]

Reader function for start/stop-time log files.

Parameters
  • input_fname (str) – Path to the start/stop-time log file.

  • *args – Variable length argument list passed to the subsequent reader function.

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

property reader_type

The type of RawXXX readers.

property readers

The list of RawXXX readers.

resampled_data(freq, binarize=False, threshold=0, n_jobs=1, prefer=None, verbose=0)[source]

Data resampled at the specified frequency. If mask_inactivity is True, inactive data (0 count) are masked.

property sst_log

SSTLog class instanciation.