h5rdmtoolbox.convention.standard_names.table.StandardNameTable.from_xml#
- static StandardNameTable.from_xml(xml_filename, name=None)[source]#
Create a StandardNameTable from an xml file
- Parameters:
xml_filename (
str) – Filename of the xml filename (
str, optional) – Name of the StandardNameTable, by default None. If None, the name of the xml file is used.
- Returns:
snt (
StandardNameTable) – The StandardNameTable object- Raises:
FileNotFoundError – If the xml file does not exist