readded MagLoopAnalysis

pull/231/head
Holger Müller 2020-07-08 15:41:52 +02:00
rodzic f67e00ca2d
commit a6c3a20445
3 zmienionych plików z 23 dodań i 5 usunięć

Wyświetl plik

@ -1,11 +1,29 @@
# NanoVNASaver
#
# A python program to view and export Touchstone data from a NanoVNA
# Copyright (C) 2020 NanoVNA-Saver Authors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
'''
Created on 30 giu 2020
Created on May 30th 2020
@author: mauro
'''
import logging
from PyQt5 import QtWidgets
import logging
from NanoVNASaver.Analysis.VSWRAnalysis import VSWRAnalysis

Wyświetl plik

@ -6,3 +6,4 @@ from .LowPassAnalysis import LowPassAnalysis
from .PeakSearchAnalysis import PeakSearchAnalysis
from .SimplePeakSearchAnalysis import SimplePeakSearchAnalysis
from .VSWRAnalysis import VSWRAnalysis
from .AntennaAnalysis import MagLoopAnalysis

Wyświetl plik

@ -22,8 +22,7 @@ from PyQt5 import QtWidgets, QtCore
from NanoVNASaver.Analysis import Analysis, LowPassAnalysis, HighPassAnalysis, \
BandPassAnalysis, BandStopAnalysis, VSWRAnalysis, \
SimplePeakSearchAnalysis
# from NanoVNASaver.Analysis.AntennaAnalysis import MagLoopAnalysis
SimplePeakSearchAnalysis, MagLoopAnalysis
logger = logging.getLogger(__name__)
@ -54,7 +53,7 @@ class AnalysisWindow(QtWidgets.QWidget):
# self.analysis_list.addItem("Peak search", PeakSearchAnalysis(self.app))
self.analysis_list.addItem("Peak search", SimplePeakSearchAnalysis(self.app))
self.analysis_list.addItem("VSWR analysis", VSWRAnalysis(self.app))
# self.analysis_list.addItem("MagLoop analysis", MagLoopAnalysis(self.app))
self.analysis_list.addItem("MagLoop analysis", MagLoopAnalysis(self.app))
select_analysis_layout.addRow("Analysis type", self.analysis_list)
self.analysis_list.currentIndexChanged.connect(self.updateSelection)