Welcome to the pynanovna documentation!

This is a Python module for using a NanoVNA. It supports streaming, saving, calibrating, and plotting data from various NanoVNAs.

Installation

Install with pip install pynanovna.

Example

import pynanovna

vna = pynanovna.VNA()

vna.set_sweep(start_frequency, end_frequency, number_of_points)

stream = vna.stream()

for s11, s21, frequencies in stream:
   print(s11, s21, frequencies)

See examples/example.py for a more detailed example on using pynanovna.

See examples/example_calibration.py for an example on how to calibrate using pynanovna.

Indices and tables