mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-09 08:23:41 +00:00
CSV export + DFT math operation
This commit is contained in:
parent
79a990af47
commit
6e55eb02dd
27 changed files with 935 additions and 52 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include "medianfilter.h"
|
||||
#include "tdr.h"
|
||||
#include "dft.h"
|
||||
#include "Traces/trace.h"
|
||||
|
||||
TraceMath::TraceMath()
|
||||
|
|
@ -18,6 +19,8 @@ TraceMath *TraceMath::createMath(TraceMath::Type type)
|
|||
return new Math::MedianFilter();
|
||||
case Type::TDR:
|
||||
return new Math::TDR();
|
||||
case Type::DFT:
|
||||
return new Math::DFT();
|
||||
default:
|
||||
return nullptr;
|
||||
}
|
||||
|
|
@ -35,6 +38,10 @@ TraceMath::TypeInfo TraceMath::getInfo(TraceMath::Type type)
|
|||
ret.name = "TDR";
|
||||
ret.explanationWidget = Math::TDR::createExplanationWidget();
|
||||
break;
|
||||
case Type::DFT:
|
||||
ret.name = "DFT";
|
||||
ret.explanationWidget = Math::DFT::createExplanationWidget();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
@ -161,6 +168,11 @@ void TraceMath::updateStepResponse(bool valid)
|
|||
}
|
||||
}
|
||||
|
||||
TraceMath *TraceMath::getInput() const
|
||||
{
|
||||
return input;
|
||||
}
|
||||
|
||||
QString TraceMath::getStatusDescription() const
|
||||
{
|
||||
return statusString;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue