fhimcpt: For MCPT set-up at FHI

A set of custom extractors for processing files generated by the MCPT instrument at FHI, now in the Risse group at FU Berlin.

yadg.extractors.fhimcpt.csv module

This parser handles the reading and processing of the legacy log files created by the LabView interface for the MCPT instrument at FHI, now FU Berlin. These files contain information about the timestamp, temperatures, and inlet / process flows.

Usage

Available since yadg-3.0. Deprecated since yadg-4.0.

pydantic model dgbowl_schemas.yadg.dataschema_6_0.filetype.FHI_csv
Config:
  • extra: str = forbid

Validators:

pydantic model Parameters
Config:
  • extra: str = forbid

field timestamp: Timestamp | TimeDate | UTS = Timestamp(timestamp=TimestampSpec(index=0, format='%Y-%m-%d-%H-%M-%S'))
field parameters: Parameters [Optional]
field filetype: Literal['fhimcpt.csv'] [Required]

Schema

xarray.DataTree:
  coords:
    uts:            !!float     # Unix timestamp
  data_vars:
    T_f:            (uts)       # Flow temperature
    T_fs:           (uts)       # Flow temperature setpoint
    T_fo:           (uts)       # Flow heater duty cycle
    T_c:            (uts)       # Cavity temperature
    T_cs:           (uts)       # Cavity temperature setpoint
    T_co:           (uts)       # Cavity cooling duty cycle
    T_cal:          (uts)       # Calibration thermocouple temperature
    N2:             (uts)       # N2 flow
    O2:             (uts)       # N2 flow
    alkane:         (uts)       # alkane flow
    CO_CO2:         (uts)       # CO or CO2 flow
    saturator:      (uts)       # saturator flow
    pressure:       (uts)       # Reactor flow meter back-pressure
    flow low:       (uts)       # Reactor mix high-flow MFC
    flow high:      (uts)       # Reactor mix low-flow MFC
    cavity flush:   (uts)       # Cavity N2 flow
    heater flow:    (uts)       # Heater flow

Metadata

No metadata is returned.

Code author: Peter Kraus

yadg.extractors.fhimcpt.csv.extract(*, fn: str, encoding: str, timezone: str, parameters: BaseModel, **kwargs: dict) DataTree

yadg.extractors.fhimcpt.vna module

Used to process files generated using Agilent PNA-L N5320C via its LabVIEW driver. This file format includes a header, with the values of bandwidth and averaging, and three tab-separated columns containing the frequency \(f\), and the real and imaginary parts of the complex reflection coefficient \(\Gamma(f)\).

Note that no timestamps are present in the file and have to be supplied externally, e.g. from the file name. One trace per file. As the MCPT set-up for which this extractor was designed always uses the S11 port, the node name is is hard-coded to this value.

Usage

Available since yadg-3.0.

pydantic model dgbowl_schemas.yadg.dataschema_6_0.filetype.FHI_vna
Config:
  • extra: str = forbid

Validators:

field filetype: Literal['fhimcpt.vna'] [Required]

Schema

xarray.DataTree:
  S11:              !!xarray.Dataset
    coords:
        freq:       !!float     # An array of measurement frequencies
    data_vars:
        Re(G):      (freq)      # Real part of Γ
        Im(G):      (freq)      # Imaginary part of Γ
        average:    (None)      # Number of traces averaged
        bandwidth:  (None)      # Filter bandwidth

Metadata

No metadata is returned.

Code author: Peter Kraus

yadg.extractors.fhimcpt.vna.extract(*, fn: str, encoding: str, **kwargs: dict) DataTree