decompress()#
- PODBasis.decompress(states_compressed: ndarray, locs=None) ndarray #
Map low-dimensional latent coordinates to high-dimensional states.
\[\qhat \mapsto \breve{\q} = \Vr\qhat\]- Parameters:
- states_compressed(r, …) ndarray
Matrix of r-dimensional latent coordinate vectors, or a single coordinate vector.
- locsslice or (p,) ndarray of integers or None
If given, return the decompressed state at only the p specified locations (indices) described by
locs
.
- Returns:
- states_decompressed(n, …) or (p, …) ndarray
Matrix of n-dimensional decompressed state vectors, or the p entries of such at the entries specified by
locs
.