Skip to content

X_from_snapshots

X_from_snapshots(snaps, times)

Stack snapshots into a single array with appended time column.

Parameters:

  • snaps (list of ndarray, length n_snaps) –

    snaps[k] has shape (n_k, ndim).

  • times (array-like of shape (n_snaps,)) –

    Snapshot times aligned with snaps.

Returns:

  • X ( ndarray of shape (sum_k n_k, ndim + 1) ) –

    Concatenated dataset where last column stores time.