uvex_transients.phase_space.space#
The space a phase-space map is over: its axes, and the moves between physical points and the unit cube.
A map is over any number of axes. An Axis names one coordinate and says what
it is (a label and a unit for a figure, and whether the coordinate is the logarithm of the quantity), and a
Space is the ordered set of them. Everything that needs the shape of the map
takes a Space, so none of it hard-codes two dimensions or the names of the
axes:
the Gaussian process works on the unit cube, which
Space.to_unitandSpace.from_unitmove to and from;Space.soboldraws a scrambled Sobol design over it, for the initial points and the candidates;Space.gridlays out the regular grid that a map is evaluated on;a figure labels its axes from
Axis.labelandAxis.unit, and a file records the space withSpace.to_dict.
Classes