pyActigraphy.analysis.FLM.fit

FLM.fit(raw, binarize=False, verbose=False)[source]

Fit the actigraphy data using a basis function expansion.

Parameters
  • raw (instance of BaseRaw or its child classes) – Raw measurements to be fitted.

  • binarize (bool.) – If True, the data are binarized (i.e 0 or 1). Default is False.

  • verbose (bool.) – If True, print the fit summary. Default is False.

Returns

y_est – Returns the functional form of the actigraphy data.

Return type

ndarray