yadg.extractors.custom.fhimcpt package

Submodules

yadg.extractors.custom.fhimcpt.csv.extract(*, fn, encoding, timezone, parameters, **kwargs)

Legacy MCPT measurement log parser.

This parser is included to maintain parity with older schemas and datagrams. It is essentially a wrapper around yadg.parsers.basiccsv.main.process_row().

DEPRECATED in yadg-4.0

For new applications, please use the basiccsv parser.

Parameters:
  • fn (str) – File to process

  • encoding (str) – Encoding of fn, by default “utf-8”.

  • timezone (str) – A string description of the timezone. Default is “localtime”.

  • parameters (BaseModel) – Parameters for MeasCSV.

Returns:

A xarray.Dataset containing the timesteps, metadata, and full date tag. No metadata is returned. The full date is always provided in meascsv compatible files.

Return type:

xarray.Dataset

yadg.extractors.custom.fhimcpt.vna.extract(*, fn, encoding='utf-8', **kwargs)

VNA reflection trace parser for Agilent’s LabVIEW driver.

Parameters:
  • fn (str) – File to process

  • encoding (str) – Encoding of fn, by default “utf-8”.

Returns:

A datatree.DataTree containing a single xarray.Dataset with the S11 (reflection) trace.

Return type:

datatree.DataTree