parse_hdr

RigolWFM.yokogawa_hdr.parse_hdr(path: str) HdrInfo[source]

Parse a Yokogawa .hdr file and return a structured HdrInfo.

Parameters:

path – Path to the .hdr file.

Returns:

Populated HdrInfo instance.

Raises:
  • FileNotFoundError – If path does not exist.

  • ValueError – If a required field is missing or malformed.