uvex_transients.phase_space.files.describe#
- uvex_transients.phase_space.files.describe(directory: str | Path) MapInfo[source]#
Describe a map from the header of its points file.
- Parameters:
directory (
strorpathlib.Path) – The directory of the map.- Returns:
The kind, the axes, the number of points and tries, and the files present.
- Return type:
- Raises:
FileNotFoundError – If the directory has no
points.ecsv.ValueError – If the points file does not record a phase-space map.