decode()

Contents

decode()#

ROM.decode(states_encoded, locs=None)#

Map low-dimensional data to the original state space.

Parameters:
states_encoded(r, …) ndarray

Low-dimensional state or states in the latent reduced state space.

locsslice or (p,) ndarray of integers or None

If given, return the decoded state at only the p specified locations (indices) described by locs.

Returns:
states_decoded(n, …) ndarray

Version of states_compressed in the original state space.