uvex_transients.phase_space.space.Space.from_unit#

Space.from_unit(u: ArrayLike) → NDArray[float64][source]#

Rescale points from the unit cube to the ranges of the axes.

Parameters:

u (array-like) – Points in the unit cube, shape (..., ndim).

Returns:

The points in the coordinates of the axes, of the same shape.

Return type:

numpy.ndarray