mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-08 16:03:43 +00:00
provide de-embedding data for rData() if available
This commit is contained in:
parent
77dfabc67f
commit
b41b3e218e
7 changed files with 11 additions and 1 deletions
|
|
@ -1484,6 +1484,15 @@ unsigned int Trace::numSamples()
|
|||
}
|
||||
}
|
||||
|
||||
std::vector<Trace::Data> &Trace::rData()
|
||||
{
|
||||
if(deembeddingActive && deembeddingAvailable()) {
|
||||
return deembeddingData;
|
||||
} else {
|
||||
return TraceMath::rData();
|
||||
}
|
||||
}
|
||||
|
||||
double Trace::getUnwrappedPhase(unsigned int index)
|
||||
{
|
||||
if(index >= size()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue