transform_ddts()#

TransformerMulti.transform_ddts(ddts, inplace: bool = False)[source]#

Apply the learned transformation to snapshot time derivatives.

If the transformation is denoted by \(\mathcal{T}(q)\), this function implements \(\mathcal{T}'\) such that \(\mathcal{T}'(\ddt q) = \ddt \mathcal{T}(q)\).

Parameters
ddts(n, …) ndarray

Matrix of n-dimensional snapshot time derivatives, or a single snapshot time derivative.

inplacebool

If True, overwrite ddts during the transformation. If False, create a copy of the data to transform.

Returns
ddts_transformed(n, …) ndarray

Transformed snapshot time derivatives.