dBuV axis option for spectrum analyzer

This commit is contained in:
Jan Käberich 2022-03-15 15:52:57 +01:00
parent cece0080ed
commit 754ded1d08
5 changed files with 17 additions and 1 deletions

View file

@ -31,6 +31,7 @@ namespace Util {
static inline double SparamTodB(std::complex<double> d) {
return SparamTodB(abs(d));
}
double dBmTodBuV(double dBm);
static inline double SparamToDegree(std::complex<double> d) {
return (arg(d) * 180.0 / M_PI);
}