yadg.extractors package
- yadg.extractors.extract(filetype: str, path: str, timezone: str | None = None, encoding: str | None = None, locale: str | None = None, **kwargs: dict) DataTree
Extract data and metadata from a path using the supplied filetype.
A wrapper around the
extract_from_path()
worker function, which creates a default extractor object.- Parameters:
filetype – Specifies the filetype. Has to be a filetype supported by the dataschema.
path – A
pathlib.Path
object pointing to the file to be extracted.timezone – A
str
containing the TZ identifier, e.g. “Europe/Berlin”.encoding – A
str
containing the encoding, e.g. “utf-8”.locale – A
str
containing the locale name, e.g. “de_CH”.
Subpackages
- agilent: For Agilent chromatograms
- basic: For tabulated data
- drycal: For MesaLabs Drycal Pro data
- eclab: For BioLogic data files
- empalc: For Empa’s LC data
- example: For yadg testing
- ezchrom: For EZChrom chromatograms
- fhimcpt: For MCPT set-up at FHI
- fusion: For Fusion chromatograms
- panalytical: For Panalytical XRD data
- phi: For Phi XPS data
- picolog: For PicoTech PicoLog data
- quadstar: For Quadstar MS data
- tomato: For tomato outputs
- touchstone: For Touchstone VNA files