sigmf.sigmffile.fromarchive

sigmf.sigmffile.fromarchive(archive_path, dir=None, skip_checksum=False, autoscale=True)

Extract an archive and return a SigMFFile.

The dir parameter is no longer used as this function has been changed to access SigMF archives without extracting them.

Parameters:
  • archive_path (str) – Path to sigmf-archive tarball.

  • dir (str, optional) – No longer used. Kept for compatibility.

  • skip_checksum (bool, default False) – Skip dataset checksum calculation.

  • autoscale (bool, default True) – If dataset is in a fixed-point representation, scale samples from (min, max) to (-1.0, 1.0).

Returns:

Instance created from archive.

Return type:

SigMFFile