kopia lustrzana https://github.com/NanoVNA-Saver/nanovna-saver
readded MagLoopAnalysis
rodzic
f67e00ca2d
commit
a6c3a20445
|
@ -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
|
@author: mauro
|
||||||
'''
|
'''
|
||||||
|
import logging
|
||||||
|
|
||||||
from PyQt5 import QtWidgets
|
from PyQt5 import QtWidgets
|
||||||
import logging
|
|
||||||
from NanoVNASaver.Analysis.VSWRAnalysis import VSWRAnalysis
|
from NanoVNASaver.Analysis.VSWRAnalysis import VSWRAnalysis
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,3 +6,4 @@ from .LowPassAnalysis import LowPassAnalysis
|
||||||
from .PeakSearchAnalysis import PeakSearchAnalysis
|
from .PeakSearchAnalysis import PeakSearchAnalysis
|
||||||
from .SimplePeakSearchAnalysis import SimplePeakSearchAnalysis
|
from .SimplePeakSearchAnalysis import SimplePeakSearchAnalysis
|
||||||
from .VSWRAnalysis import VSWRAnalysis
|
from .VSWRAnalysis import VSWRAnalysis
|
||||||
|
from .AntennaAnalysis import MagLoopAnalysis
|
||||||
|
|
|
@ -22,8 +22,7 @@ from PyQt5 import QtWidgets, QtCore
|
||||||
|
|
||||||
from NanoVNASaver.Analysis import Analysis, LowPassAnalysis, HighPassAnalysis, \
|
from NanoVNASaver.Analysis import Analysis, LowPassAnalysis, HighPassAnalysis, \
|
||||||
BandPassAnalysis, BandStopAnalysis, VSWRAnalysis, \
|
BandPassAnalysis, BandStopAnalysis, VSWRAnalysis, \
|
||||||
SimplePeakSearchAnalysis
|
SimplePeakSearchAnalysis, MagLoopAnalysis
|
||||||
# from NanoVNASaver.Analysis.AntennaAnalysis import MagLoopAnalysis
|
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
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", PeakSearchAnalysis(self.app))
|
||||||
self.analysis_list.addItem("Peak search", SimplePeakSearchAnalysis(self.app))
|
self.analysis_list.addItem("Peak search", SimplePeakSearchAnalysis(self.app))
|
||||||
self.analysis_list.addItem("VSWR analysis", VSWRAnalysis(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)
|
select_analysis_layout.addRow("Analysis type", self.analysis_list)
|
||||||
self.analysis_list.currentIndexChanged.connect(self.updateSelection)
|
self.analysis_list.currentIndexChanged.connect(self.updateSelection)
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue