mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 15:04:11 +00:00
Through normalization and TRL calibration added
This commit is contained in:
parent
c6d9796a11
commit
49917c4b19
10 changed files with 1109 additions and 533 deletions
|
|
@ -702,10 +702,11 @@ void VNA::ApplyCalibration(Calibration::Type type)
|
|||
{
|
||||
if(cal.calculationPossible(type)) {
|
||||
try {
|
||||
cal.constructErrorTerms(type);
|
||||
calValid = true;
|
||||
average.reset();
|
||||
emit CalibrationApplied(type);
|
||||
if(cal.constructErrorTerms(type)) {
|
||||
calValid = true;
|
||||
average.reset();
|
||||
emit CalibrationApplied(type);
|
||||
}
|
||||
} catch (runtime_error e) {
|
||||
QMessageBox::critical(this, "Calibration failure", e.what());
|
||||
DisableCalibration(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue