PhaseSpaceConfig#
- class uvex_transients.cli.phase_space.PhaseSpaceConfig(raw: Mapping, source: Path | None = None)[source]#
A parsed phase-space run-config, resolving the survey lazily on first access.
- Parameters:
- Raises:
ValueError – If the file has an unknown key anywhere, or a map without a valid, unique id. Every problem is reported at once.
Methods
from_yaml(path)Parse a phase-space run-config YAML file.
select(ids)Return the maps with the given ids, or all of them if ids is empty.
Attributes
The resolved mission.
The name of the mission,
config["phase_space.mission"]unless the file gives one.The resolved schedule.
The registry name of the schedule, recorded in each map; None if it has none.