pflm.utils#

Utilities to help with functional data analysis.

Functions#

flatten_and_sort_data_matrices(y, t, ...)

Flatten per-sample 1D arrays into contiguous vectors and build indices.

trapz(y, x)

Compute the integrated area using the trapezoidal rule.

Classes#

FlattenFunctionalData(y, t, w, tid, ...)

Flattened functional dataset in 1D arrays with indexing helpers.