mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-05 06:25:16 +00:00
Working source and receiver calibration
This commit is contained in:
parent
875f3b0170
commit
026fffd588
23 changed files with 722 additions and 68 deletions
|
|
@ -229,9 +229,6 @@ using namespace std;
|
|||
|
||||
void SpectrumAnalyzer::NewDatapoint(Protocol::SpectrumAnalyzerResult d)
|
||||
{
|
||||
// TODO level adjustment in device
|
||||
d.port1 /= 126500000.0;
|
||||
d.port2 /= 126500000.0;
|
||||
d = average.process(d);
|
||||
traceModel.addSAData(d, settings);
|
||||
emit dataChanged();
|
||||
|
|
@ -248,6 +245,7 @@ void SpectrumAnalyzer::SettingsChanged()
|
|||
} else {
|
||||
settings.pointNum = settings.f_stop - settings.f_start + 1;
|
||||
}
|
||||
settings.applyReceiverCorrection = 1;
|
||||
|
||||
auto pref = Preferences::getInstance();
|
||||
if(pref.Acquisition.useDFTinSAmode && settings.RBW <= pref.Acquisition.RBWLimitForDFT) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue