uvex_transients.cli.phase_space.PhaseSpaceConfig.select#

PhaseSpaceConfig.select(ids: tuple[str, ...] | list[str] | None) → list[MapSpec][source]#

Return the maps with the given ids, or all of them if ids is empty.

Parameters:

ids (sequence of str or None) – The ids to keep.

Returns:

The selected maps, in the order of the file.

Return type:

list of MapSpec

Raises:

ValueError – If an id is not in the file.