aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/uhd_power_cal.py
Commit message (Collapse)AuthorAgeFilesLines
* cal: Add tune-settling timeMartin Braun2021-06-241-0/+2
| | | | | | This is a device-specific parameter to allow for the tune to settle before proceeding with the calibration. On X410, we set this time to 500 ms. On other devices, we leave it at 0.
* cal: Add X410 internal antenna names to invalid antenna listLars Amsel2021-06-231-1/+1
| | | | Added CAL_LOOPBACK and TERMINATION to invalid antenna list
* cal: make 'calibrate all channels' default for --channels argumentLars Amsel2021-06-231-1/+1
|
* cal: Fix minor issues in the calibration utilitiesMartin Braun2021-06-101-2/+2
| | | | | | - Whitespace issues - Unclear help messages - Unnecessary derive-from-object
* python: power cal: Minor fixes to power cal codeMartin Braun2020-08-171-1/+1
| | | | | | | | - Fix some typos - Fix incorrect arg name for RFSGPowerGenerator.enable() - Fix case where incorrect args would cause an uncaught TypeError. Now, if USRP is chose as signal generator, but fails to find one, a proper error is shown.
* cal: Add automated port switchLars Amsel2020-06-171-1/+9
| | | | | | | | | | | | | | | | | Current implementation needed manual interaction to calibrate each antenna. More sophisticated setups are able to switch between channels and antennas programmatically. This commit introduces a base class that handle the switch behaviour. The previous implementation moved to a ManualSwitch class which is the default switch. Without any options the previous flow remains unchanged. A new class is able to handle NI switch models. The switch port can be given via options parameter (comA is default). The channels are connected in ascending order. The user has to ensure that the cable setup matches the order given for channels and antennas. Co-authored-by: Martin Braun <martin.braun@ettus.com>
* utils/python: Add uhd_power_cal scriptMartin Braun2020-05-281-0/+250
This is a tool for running power calibration.