parse_hdr_text

RigolWFM.yokogawa_hdr.parse_hdr_text(text: str) HdrInfo[source]

Parse .hdr content already loaded as a string.

Useful when the text has been fetched from a URL or passed as a JS string in a web viewer.

Parameters:

text – Full ASCII contents of the .hdr file.

Returns:

Populated HdrInfo instance.