get_var()#

TransformerMulti.get_var(var, states)[source]#

Extract a single variable from the joint state.

Parameters
varint or str

Index or name of the variable to extract.

states(n, …) ndarray

Joint state vector or snapshot matrix.

Returns
state_variable(n_i, …) ndarray

One state variable, extracted from states.