Analysis

Analysis-related classes and enumerations.

class excentis.xra31.analysis.Analysis(xra31)

Access XRA-31 capture files.

delete(directory: str = None, filename: str = None, *, rolling: bool = False, verbose: bool = False)

Remove a capture file or rolling file capture from the XRA-31. If no filename is given, remove the latest capture. In case of a rolling file capture (rolling is True), the full collection of files will be removed.

Parameters
  • directory (str, optional) – Directory on the XRA-31.

  • filename (str, optional) – Filename on the XRA-31.

  • rolling (bool, optional) – Remove all files related to a rolling file capture.

  • verbose (bool, optional) – Show progress.

download(directory: str = None, filename: str = None, output: str = None, *, rolling: bool = False, append: bool = False, compress: bool = False, verbose: bool = False) → None

Download a capture file or rolling file capture from the XRA-31. If no filename is given, download the latest capture. In case of rolling file capture (rolling is True), the full collection of files is downloaded and concatenated to a single capture file.

Parameters
  • directory (str, optional) – Directory on the XRA-31.

  • filename (str, optional) – Filename on the XRA-31.

  • output (str, optional) – Filename for local storage, defaults to the filename on the XRA-31.

  • rolling (bool, optional) – Indicate whether the full collection of files in a rolling file capture should be downloaded and concatenated.

  • append (bool, optional) – Append to an existing file.

  • compress (bool, optional) – Compress the file(s) locally (gzip).

  • verbose (bool, optional) – Show progress.