curiousmuch e8e319d534 added delay to fix issue w/ missing datapoint which occurs only when commands are scripted back to back... | hace 3 años | |
---|---|---|
curiousmeasurements | hace 3 años | |
media | hace 3 años | |
.gitignore | hace 3 años | |
README.md | hace 3 años | |
setup.py | hace 3 años |
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()