edges_io.io.Spectra#
- class edges_io.io.Spectra(path, log_level=40, *, check=True, fix=False, run_num: int | dict[str, int] | None = None, filetype: str | None = None)[source]#
Methods
__init__
(path[, log_level, check, fix, ...])Method generated by attrs for class Spectra.
check_contents
(path[, fix])Check whether contents of this container are in the correct format.
check_self
(path, fix)get_all_load_names
(path)Get all load names found in the Spectra directory.
get_simulator_names
(path)read_all
()Read all spectra.
typestr
(name)Generate a string uniquely defining the 'kind of thing' the object is.
Attributes
Dictionary of run numbers for each load.