pyActigraphy.filters.FiltersMixin.add_mask_periods

FiltersMixin.add_mask_periods(input_fname, *args, **kwargs)[source]

Add periods to the inactivity mask

Function to read start and stop times from a Mask log file. Supports different file format (.ods, .xls(x), .csv).

Parameters
  • input_fname (str) – Path to the log file.

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

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