feat(plotview): Recommend a decimation based on the tuner BW

This commit is contained in:
schneider
2016-08-31 21:38:04 +01:00
parent 4833c8938a
commit d3754785b0
7 changed files with 24 additions and 2 deletions

View File

@@ -248,7 +248,7 @@ void PlotView::exportSamples(std::shared_ptr<AbstractSampleSource> src)
QGroupBox groupBox2("Decimation");
QSpinBox decimation(&groupBox2);
decimation.setValue(1);
decimation.setValue(1 / complexSrc->relativeBandwidth());
QVBoxLayout vbox2;
vbox2.addWidget(&decimation);