uvex_transients.phase_space.space.Space.to_dict#

Space.to_dict() → dict[source]#

Return the space as plain types, which an ECSV header can hold.

Returns:

{"axes": [...]}, which from_dict() turns back into the space.

Return type:

dict