pyActigraphy.analysis.FLM.evaluate_reader

FLM.evaluate_reader(reader, r=10, n_jobs=1, prefer=None, verbose_parallel=0)[source]

Evaluate the basis function expansion made on actigraphy data contained in a reader.

Parameters
  • reader (instance of RawReader) – Raw measurements to be fitted.

  • r (int) – Ratio between the number of points at which the basis functions are evaluated and the number of points at which the basis functions were fitted. Default is 10. N.B.: only valid for splines.

  • n_jobs (int) – Number of CPU to use for parallel fitting

  • prefer (str) – Soft hint to choose the default backendself. Supported option:’processes’, ‘threads’. See joblib package documentation for more info. Default is None.

  • verbose_parallel (int) – Display a progress meter if set to a value > 0. Default is 0.

Returns

y_est – Returns an array with functional forms of the actigraphy data.

Return type

ndarray