LibreVNA/Software/PC_Application/LibreVNA-GUI/VNA/Deembedding/impedancerenormalization.h

31 lines
720 B
C
Raw Permalink Normal View History

2022-10-01 23:10:44 +08:00
#ifndef IMPEDANCERENORMALIZATION_H
#define IMPEDANCERENORMALIZATION_H
#include "deembeddingoption.h"
namespace Ui {
class ImpedanceRenormalizationDialog;
}
class ImpedanceRenormalization : public DeembeddingOption
{
Q_OBJECT
public:
ImpedanceRenormalization();
2022-10-14 06:27:22 +08:00
std::set<unsigned int> getAffectedPorts() override;
2023-01-16 07:25:29 +08:00
void transformDatapoint(DeviceDriver::VNAMeasurement &p) override;
2022-10-01 23:10:44 +08:00
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