class Concatenation

class deeptime.basis.Concatenation(obs1: Callable[[ndarray], ndarray], obs2: Callable[[ndarray], ndarray])

Concatenation operation to evaluate \((f_1 \circ f_2)(x) = f_1(f_2(x))\), where \(f_1\) and \(f_2\) are observables.

Parameters:
  • obs1 (Callable) – First observable \(f_1\).

  • obs2 (Callable) – Second observable \(f_2\).

Methods

transform(data, **kwargs)

Transforms the input data.

__call__(x: ndarray)

Evaluation of the observable.

Parameters:

x ((N, d) np.ndarray) – Evaluates the observable for N d-dimensional data points.

Returns:

out – Result of the evaluation for each data point.

Return type:

(N, p) np.ndarray

transform(data, **kwargs)

Transforms the input data.

Parameters:

data (array_like) – Input data.

Returns:

transformed – The transformed data

Return type:

array_like