class Concatenation

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

Concatenation operation to evaluate (f1f2)(x)=f1(f2(x))(f_1 \circ f_2)(x) = f_1(f_2(x)), where f1f_1 and f2f_2 are observables.

Parameters:
  • obs1 (Callable) – First observable f1f_1.

  • obs2 (Callable) – Second observable f2f_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