LibreVNA/Software/PC_Application/LibreVNA-GUI/VNA/Deembedding/impedancerenormalization.h
2023-01-16 00:25:29 +01:00

31 lines
720 B
C++

#ifndef IMPEDANCERENORMALIZATION_H
#define IMPEDANCERENORMALIZATION_H
#include "deembeddingoption.h"
namespace Ui {
class ImpedanceRenormalizationDialog;
}
class ImpedanceRenormalization : public DeembeddingOption
{
Q_OBJECT
public:
ImpedanceRenormalization();
std::set<unsigned int> getAffectedPorts() override;
void transformDatapoint(DeviceDriver::VNAMeasurement &p) override;
Type getType() override { return Type::ImpedanceRenormalization;}
nlohmann::json toJSON() override;
void fromJSON(nlohmann::json j) override;
public slots:
virtual void edit() override;
private:
double impedance;
Ui::ImpedanceRenormalizationDialog *ui;
};
#endif // IMPEDANCERENORMALIZATION_H