sigmf.convert.blue.blue_to_sigmf

sigmf.convert.blue.blue_to_sigmf(blue_path: str, out_path: str | None = None, create_archive: bool = False, create_ncd: bool = False, overwrite: bool = False) SigMFFile

Read a MIDAS Bluefile, optionally write SigMF, return associated SigMF object.

Parameters:
  • blue_path (str) – Path to the Blue file.

  • out_path (str, optional) – Path to the output SigMF metadata file.

  • create_archive (bool, optional) – When True, package output as a .sigmf archive.

  • create_ncd (bool, optional) – When True, create Non-Conforming Dataset with header_bytes and trailing_bytes.

  • overwrite (bool, optional) – If False, raise exception if output files already exist.

Returns:

SigMF object, potentially as Non-Conforming Dataset.

Return type:

SigMFFile