mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-06 16:27:14 +01:00
feat(plotview): Recommend a decimation based on the tuner BW
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user