MDOCParser#
- class MDOCParser(filename, mode='r', **kwargs)[source]#
Bases:
ParserConvert MDOC file (SerialEM metadata) into a dictionary representation.
MDOC files contain global parameters and per-tilt metadata for cryo-ET tilt series, with sections marked by [ZValue = N] for individual tilts.
Methods
MDOCParser.get(key[, default])Retrieve a value from the internal data using a given key.
List items available in internal dictionary.
List keys available in internal dictionary.
MDOCParser.parse_input(lines, **kwargs)Parse a list of lines from a file and convert the data into a dictionary.
List values available in internal dictionary.