Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | host: Update code base using clang-tidy | Martin Braun | 2021-03-04 | 1 | -15/+15 |
| | | | | | | | | | The checks from the new clang-tidy file are applied to the source tree using: $ find . -name "*.cpp" | sort -u | xargs \ --max-procs 8 --max-args 1 clang-tidy --format-style=file \ --fix -p /path/to/compile_commands.json | ||||
* | lib: pwr_cal: Fix power indexing | Martin Braun | 2020-05-19 | 1 | -16/+28 |
| | | | | | | | | | | | | | The pwr_cal::get_gain() method previously held the incorrect assumption that power values per frequency would be equidistant, i.e., be at the same indices as the gain values. Due to the frequency-dependent nature of the hardware, this is not a valid assumption (if that were the case, frequency-dependent calibration would be unnecessary). This changes get_gain() to not rely on that assumption. Note that it requires doing some more rounding: The bilinear interpolation method uses requires coordinates to be on a rectangular grid. This snaps the power values onto a single coordinate. | ||||
* | cal: Add pwr_cal container | Martin Braun | 2020-04-17 | 1 | -0/+347 |
This is a cal container for all types of power cal (RX or TX) that rely on a single, overall gain value. Includes Python API. |