FLM class

class pyActigraphy.analysis.FLM(basis, sampling_freq, max_order=None)[source]

Class for Functional Linear Modelling

Attributes

sampling_freq

The sampling frequency of the basis functions.

nsamples

The number of sample points for the basis functions.

max_order

The maximal number of basis functions.

basis_functions

The basis functions.

beta

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.