|
2 年 前 | |
---|---|---|
curiousmeasurements | 2 年 前 | |
media | 2 年 前 | |
.gitignore | 2 年 前 | |
README.md | 2 年 前 | |
setup.py | 2 年 前 |
This library will eventually be resposible for providing a uniform interface for measurement equipment calibartion and control. This will be used for automated scripting of tests.
- [x] Develop scripts to use nanoVNAV2 H4
- [ ] Develop metaclass which will import correct subclass based on argument (class factory)
- [ ] Document VNA classes
- [ ] Optimize VNA calibration proceedure and get away from "datapoints"
- [x] Turn curiousVNA into a submodule / python package (That's Curious Measurements, yay!)
- [ ] Add analog discovery support
- [ ] Add sig gen support using <insert option here>
- [ ] Add oscilloscope support using signlent
- [ ] Ass powersupply support
from curiousmeasurements.VNA.NanoVNA_V2 import NanoVNA_V2_H4
from curiousmeasurements.VNA.Hardware import get_interfaces
# setup interface
iface = get_interfaces()[0]
iface.open()
vna = NanoVNA_V2_H4(iface)
# configure sweep
vna.set_sweep(140e6,4.4e9,1001)
# load cal
vna.load_cal(cal_path / 'test2.cal')
# measure
f, s11, s21 = vna.measure()