src.pynanovna.utils.stream_from_csv

stream_from_csv(filename, sweepdivider='sweepnumber: ', delay=0.1)[source]

Stream previously recorded data from a csv file.

Return type:

tuple[list[complex], list[complex], list[int]]

Args:

filename (string): Path to the csv file. sweepdivider (string): Used to identify where sweeps end and start in the csv file. delay (float): Used to simulate the time it takes for the vna to sweep.

Yields:

tuple: (s11, s21, frequencies)