Cosinor class¶
- class pyActigraphy.analysis.Cosinor(fit_params=None)[source]¶
Class for Cosinor analysis.
Cornelissen, G. (2014). Cosinor-based rhythmometry. Theoretical Biology and Medical Modelling, 11(1), 16. https://doi.org/10.1186/1742-4682-11-16
Attributes
Cosinor fit function
Initial parameters of the cosinor fit function
Methods
fit
(ts[, params, method, nan_policy, ...])Fit the actigraphy data using a cosinor function.
best_fit
(ts, params)Best fit function of the data.
fit_reader
(reader[, params, method, ...])Batch cosinor fit