NanoVNA/python/README.md

35 lines
594 B
Markdown
Raw Permalink Normal View History

2019-08-18 03:48:27 +02:00
# Control NanoVNA from python script
NanoVNA is able to be controlled via USB serial interface from PC. There are sample scripts in this directory.
## Preparation
$ cd python
$ pip3 install -r requirements.txt
2019-08-18 03:48:27 +02:00
## Run
### Plot reflection LOGMAG.
$ ./nanovna.py -p
### Plot transmission LOGMAG.
$ ./nanovna.py -p -P 1
### Plot smithchart.
$ ./nanovna.py -s
### Capture display
$ ./nanovna.py -C out.png
2019-08-18 03:48:27 +02:00
### Show usage.
$ ./nanovna.py -h
## Using in Jupyter Notebook
To use NanoVNA from Jupyter notebook, see [this page](/python/NanoVNA-example.ipynb).