LibreVNA/Software/PC_Application/Traces/Math/tdr.h

39 lines
669 B
C
Raw Normal View History

#ifndef TDRLOWPASS_H
#define TDRLOWPASS_H
#include "tracemath.h"
#include "windowfunction.h"
namespace Math {
class TDR : public TraceMath
{
public:
TDR();
DataType outputType(DataType inputType) override;
QString description() override;
void edit() override;
static QWidget* createExplanationWidget();
public slots:
void inputSamplesChanged(unsigned int begin, unsigned int end) override;
private:
void updateTDR();
enum class Mode {
Lowpass,
Bandpass,
};
Mode mode;
WindowFunction window;
bool stepResponse;
bool automaticDC;
std::complex<double> manualDC;
};
}
#endif // TDRBANDPASS_H