mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2025-12-06 03:31:59 +01:00
doc: separate python README
This commit is contained in:
parent
ddecd7f4a9
commit
c8e1dbcbdd
26
README.md
26
README.md
|
|
@ -78,31 +78,7 @@ Then, burn firmware using dfu-util via USB.
|
|||
|
||||
## Control from PC
|
||||
|
||||
NanoVNA is able to work standalone, but also be controlled via USB serial interface from PC. There are sample scripts in python directory.
|
||||
|
||||
Preparation.
|
||||
|
||||
$ pip install numpy
|
||||
$ pip install scikit-rf
|
||||
|
||||
Plot reflection LOGMAG.
|
||||
|
||||
$ cd python
|
||||
$ ./nanovna.py -p
|
||||
|
||||
Plot transmission LOGMAG.
|
||||
|
||||
$ ./nanovna.py -p -P 1
|
||||
|
||||
Plot smithchart.
|
||||
|
||||
$ ./nanovna.py -s
|
||||
|
||||
Show usage.
|
||||
|
||||
$ ./nanovna.py -h
|
||||
|
||||
To use NanoVNA from Jupyter notebook, see [this page](/python/NanoVNA-example.ipynb).
|
||||
See [python directory](/python/README.md).
|
||||
|
||||
|
||||
## Note
|
||||
|
|
|
|||
31
python/README.md
Normal file
31
python/README.md
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# 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
|
||||
$ pip install numpy
|
||||
$ pip install scikit-rf
|
||||
|
||||
## Run
|
||||
|
||||
### Plot reflection LOGMAG.
|
||||
|
||||
$ ./nanovna.py -p
|
||||
|
||||
### Plot transmission LOGMAG.
|
||||
|
||||
$ ./nanovna.py -p -P 1
|
||||
|
||||
### Plot smithchart.
|
||||
|
||||
$ ./nanovna.py -s
|
||||
|
||||
### Show usage.
|
||||
|
||||
$ ./nanovna.py -h
|
||||
|
||||
## Using in Jupyter Notebook
|
||||
|
||||
To use NanoVNA from Jupyter notebook, see [this page](/python/NanoVNA-example.ipynb).
|
||||
Loading…
Reference in a new issue