from_hdr_file

RigolWFM.yokogawa_hdr.from_hdr_file(path: str) YokogawaWvfWaveform[source]

Parse a Yokogawa .hdr file and load the companion .wvf binary.

Parameters:

path – Path to the .hdr metadata file. The companion .wvf file must exist alongside it with the same base name.

Returns:

YokogawaWvfWaveform ready for use with Channel.

Raises:
  • FileNotFoundError – If the .hdr or .wvf file does not exist.

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