mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-21 06:13:41 +00:00
Port extension support
This commit is contained in:
parent
d0640e0e42
commit
7f691bd37d
9 changed files with 653 additions and 3 deletions
|
|
@ -44,7 +44,7 @@ bool Calibration::calculationPossible(Calibration::Type type)
|
|||
{
|
||||
return SanityCheckSamples(Measurements(type, false));
|
||||
}
|
||||
|
||||
#include <QDebug>
|
||||
bool Calibration::constructErrorTerms(Calibration::Type type)
|
||||
{
|
||||
if(!calculationPossible(type)) {
|
||||
|
|
@ -700,7 +700,7 @@ istream& operator >>(istream &in, Calibration &c)
|
|||
}
|
||||
for(auto t : Calibration::Types()) {
|
||||
if(Calibration::TypeToString(t) == QString::fromStdString(line)) {
|
||||
// try to apply this calibration type
|
||||
// try to P2 this calibration type
|
||||
if(c.calculationPossible(t)) {
|
||||
c.constructErrorTerms(t);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -239,7 +239,7 @@ double Calkit::minFreq(bool TRL)
|
|||
return TRL_line_minfreq;
|
||||
} else {
|
||||
fillTouchstoneCache();
|
||||
double min = std::numeric_limits<double>::min();
|
||||
double min = 0;
|
||||
array<Touchstone*, 4> ts_list = {ts_open, ts_short, ts_load, ts_through};
|
||||
// find the highest minimum frequency in all measurement files
|
||||
for(auto ts : ts_list) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue