uvex_transients.phase_space.files.flavor#

uvex_transients.phase_space.files.flavor(meta: Mapping) → str[source]#

Return the format of a points file from its header.

Parameters:

meta (Mapping) – The header of the points file.

Returns:

CURRENT or LEGACY.

Return type:

str

Raises:

ValueError – If the header records neither a sampler nor an evaluator.