agilent-dx: Agilent OpenLab raw data .dx

yadg.extractors.agilentdx.extract(*, fn, encoding, timezone, **kwargs)

Agilent OpenLab DX archive parser.

This is a simple wrapper around the Agilent OpenLab signal trace parser in yadg.parsers.chromtrace.agilentch. This wrapper first un-zips the DX file into a temporary directory, and then processess all CH files found within the archive, concatenating timesteps from multiple files.

Parameters:
  • fn (str) – Filename to process.

  • encoding (str) – Not used as the file is binary.

  • timezone (str) – Timezone information. This should be "localtime".

Returns:

class – A datatree.DataTree containing one xarray.Dataset per detector. If multiple timesteps are found in the zip archive, the datatree.DataTrees are collated along the uts dimension.

Return type:

datatree.DataTree