mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-19 21:33:40 +00:00
wrapper work
This commit is contained in:
parent
f0a40417e4
commit
a530cea085
30 changed files with 385 additions and 588 deletions
|
|
@ -15,10 +15,11 @@ ImpedanceRenormalization::ImpedanceRenormalization()
|
|||
|
||||
}
|
||||
|
||||
void ImpedanceRenormalization::transformDatapoint(VNAData &p)
|
||||
void ImpedanceRenormalization::transformDatapoint(VirtualDevice::VNAMeasurement &p)
|
||||
{
|
||||
p.S = Sparam(ABCDparam(p.S, p.reference_impedance), impedance);
|
||||
p.reference_impedance = impedance;
|
||||
//p.S = Sparam(ABCDparam(p.S, p.Z0), impedance);
|
||||
// TODO
|
||||
p.Z0 = impedance;
|
||||
}
|
||||
|
||||
nlohmann::json ImpedanceRenormalization::toJSON()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue