skrf.io.csv.read_zva_dat

skrf.io.csv.read_zva_dat(filename, *args, **kwargs)[source]

Reads data from a dat file written by a R&S ZVA in dB/deg or re/im format.

This function returns a triplet containing header, comments and data.

Parameters:
  • filename (str) – the file

  • *args

  • **kwargs

Returns:

  • header (str) – The header string, which is the line following the ‘BEGIN’

  • data (numpy.ndarray) – An array containing the data. The meaning of which depends on the header.