mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-04 22:17:31 +00:00
Use full multiplier bitwidth for windowing + increased number of DFT bins
This commit is contained in:
parent
a2389fca13
commit
8b9b8265b9
21 changed files with 625 additions and 579 deletions
|
|
@ -129,12 +129,12 @@ static constexpr Protocol::DeviceInfo defaultInfo = {
|
|||
.limits_minFreq = 0,
|
||||
.limits_maxFreq = 6000000000,
|
||||
.limits_minIFBW = 10,
|
||||
.limits_maxIFBW = 50000,
|
||||
.limits_maxPoints = 4501,
|
||||
.limits_cdbm_min = -4000,
|
||||
.limits_cdbm_max = 0,
|
||||
.limits_minRBW = 15,
|
||||
.limits_maxRBW = 100000,
|
||||
.limits_maxIFBW = 1000000,
|
||||
.limits_maxPoints = 10000,
|
||||
.limits_cdbm_min = -10000,
|
||||
.limits_cdbm_max = 1000,
|
||||
.limits_minRBW = 1,
|
||||
.limits_maxRBW = 1000000,
|
||||
};
|
||||
|
||||
Protocol::DeviceInfo Device::lastInfo = defaultInfo;
|
||||
|
|
|
|||
|
|
@ -232,8 +232,8 @@ using namespace std;
|
|||
void SpectrumAnalyzer::NewDatapoint(Protocol::SpectrumAnalyzerResult d)
|
||||
{
|
||||
// TODO level adjustment in device
|
||||
d.port1 /= pow(10.0, 7.5);
|
||||
d.port2 /= pow(10.0, 7.5);
|
||||
d.port1 /= 126500000.0;
|
||||
d.port2 /= 126500000.0;
|
||||
d = average.process(d);
|
||||
traceModel.addSAData(d);
|
||||
emit dataChanged();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue