Directory structure¶
- Main directory of
MpyLab: src/mpylab: general source files tree of the frameworktest: special measurement programs that access the framework. Mainly for testing.doc: documentation tree
- Subdirectory
src/mpylab: device: drivers for active and passive devicesenv: measurement environments (MVK, GTEM cell)tools: all kinds of utility programs and functions
- Subdirectory
device: device.py: wrapper for rewriting old drivers (inC; no longer used) to new ones and providing a uniform interface for the upper layerdriver.py: the mother of all new drivers written in Python
- Below this, there are different classes of drivers for different device types:
amplifier.py: for amplifiersnport.py: for antennas, cables, directional couplers, etc.powermeter.py: for power meterssignalgenerator.py: for signal generators…
- There are also special drivers for specific devices, e.g.:
amp_ifi_smx25.py: Amplifier from IFI, type SMX25pm_gt_8540c.py: Power meter from GigaTronics, type 8542C Universal Power Metersg_rs_smr.py: Signal generator from Rohde&Schwarz, type SMRsg_rs_swm.py: Signal generator from Rohde&Schwarz, type SWM
The syntax is therefore amp/pm/sg_<manufacturer abbreviation>_<type abbreviation>.py