sigmf.convert.blue.read_hcb

sigmf.convert.blue.read_hcb(file_path: Path) -> (<class 'dict'>, <class 'dict'>)

Read Header Control Block (HCB) from BLUE file.

First 256 bytes contains fixed header, followed by 256 bytes of adjunct header.

Parameters:

file_path (Path) – Path to the Blue file.

Returns:

  • h_fixed (dict) – Fixed Header

  • h_adjunct (dict) – Adjunct Header

Raises:

SigMFConversionError – If header cannot be parsed.