LIDS class

class pyActigraphy.analysis.LIDS(lids_func='lids', fit_func='cosine', fit_obj_func='residuals', fit_params=None)[source]

Class for Locomotor inactivity during sleep (LIDS) Analysis

Winnebeck, E. C., Fischer, D., Leise, T., & Roenneberg, T. (2018). Dynamics and Ultradian Structure of Human Sleep in Real Life. Current Biology, 28(1), 49–59.e5. http://doi.org/10.1016/j.cub.2017.11.063

Attributes

freq

Sampling frequency of the LIDS transformed data

lids_func

LIDS transformation function

lids_fit_func

Fit function to LIDS oscillations

lids_fit_initial_params

Initial parameters of the fit function to LIDS oscillations

lids_fit_results

Results of the LIDS fit

Methods

filter(ts[, duration_min, duration_max])

Filter data according to their duration

lids_transform(ts[, method, win_td, ...])

Apply LIDS transformation to activity data

lids_fit(lids[, method, scan_period, ...])

Fit oscillations of the LIDS data

lids_pearson_r(lids[, params])

Pearson correlation factor

lids_mri(lids[, params])

Munich Rhythmicity Index

lids_period([freq])

LIDS period

lids_phases(lids[, step])

LIDS onset and offset phases in degrees

lids_convert_to_internal_time(lids[, t_norm])

Convert LIDS data index to internal time.

lids_summary(lids[, verbose])

Calculate summary statistics for LIDS