FLM class¶
- class pyActigraphy.analysis.FLM(basis, sampling_freq, max_order=None)[source]¶
Class for Functional Linear Modelling
Attributes
The sampling frequency of the basis functions.
The number of sample points for the basis functions.
The maximal number of basis functions.
The basis functions.
The scalar parameters of the basis function expansion.
Methods
fit
(raw[, binarize, verbose])Fit the actigraphy data using a basis function expansion.
evaluate
(raw[, r])Evaluate the basis function expansion.
fit_reader
(reader[, binarize, verbose_fit, ...])Fit the actigraphy data contained in a reader using a basis function expansion.
evaluate_reader
(reader[, r, n_jobs, prefer, ...])Evaluate the basis function expansion made on actigraphy data contained in a reader.
smooth
(raw[, binarize, method, verbose])Smooth the actigraphy data using a gaussian kernel.