Preparations for math functions on traces

This commit is contained in:
Jan Käberich 2020-11-25 16:47:29 +01:00
parent 978842a2ff
commit 66f8b86159
21 changed files with 819 additions and 124 deletions

View file

@ -72,9 +72,9 @@ void TraceExportDialog::on_buttonBox_accepted()
} else {
Trace *t = qvariant_cast<Trace*>(cTraces[i][j]->itemData(cTraces[i][j]->currentIndex()));
// extract frequency (will overwrite for each trace but all traces have the same frequency points anyway)
tData.frequency = t->sample(s).frequency;
tData.frequency = t->sample(s).x;
// add S parameter from trace to touchstone
tData.S.push_back(t->sample(s).S);
tData.S.push_back(t->sample(s).y);
}
}
}