|
пре 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()