mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-07 07:23:43 +00:00
Preparations for math functions on traces
This commit is contained in:
parent
978842a2ff
commit
66f8b86159
21 changed files with 819 additions and 124 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue