NanoVNASaver.Windows package

Submodules

NanoVNASaver.Windows.About module

class NanoVNASaver.Windows.About.AboutWindow(app: QWidget)[source]

Bases: QWidget

findUpdates(automatic=False)[source]
show(self)[source]
updateLabels()[source]

NanoVNASaver.Windows.AnalysisWindow module

class NanoVNASaver.Windows.AnalysisWindow.AnalysisWindow(app: QWidget)[source]

Bases: QWidget

analyses = []
analysis: Analysis = None
runAnalysis()[source]
toggleAutomaticRun(state: CheckState)[source]
updateSelection()[source]

NanoVNASaver.Windows.Bands module

class NanoVNASaver.Windows.Bands.BandsWindow(app: QWidget)[source]

Bases: QWidget

deleteRows()[source]
resetBands()[source]

NanoVNASaver.Windows.CalibrationSettings module

class NanoVNASaver.Windows.CalibrationSettings.CalibrationWindow(app: QWidget)[source]

Bases: QWidget

automaticCalibration()[source]
automaticCalibrationStep()[source]
cal_save(name: str)[source]
calculate()[source]
checkExpertUser()[source]
deleteCalibrationStandard()[source]
idealCheckboxChanged()[source]
listCalibrationStandards()[source]
loadCalibration()[source]
loadCalibrationStandard()[source]
manual_save(name: str)[source]
nextStep = -1
reset()[source]
saveCalibration()[source]
saveCalibrationStandard()[source]
setOffsetDelay(value: float)[source]
NanoVNASaver.Windows.CalibrationSettings.getFloatValue(text: str) float[source]

NanoVNASaver.Windows.Defaults module

NanoVNASaver.Windows.Defaults.make_scrollable(window: QWidget, layout: QLayout) None[source]

NanoVNASaver.Windows.DeviceSettings module

class NanoVNASaver.Windows.DeviceSettings.DeviceSettingsWindow(app: QWidget)[source]

Bases: QWidget

captureScreenshot()[source]
customPoint_check(validate_data: bool)[source]
custom_points_Eidt

alias of QLineEdit

custom_points_checkBox

alias of QCheckBox

show(self)[source]
updateBandwidth(i)[source]
updateFields()[source]
updateNrDatapoints(i)[source]
updateValidation(validate_data: bool)[source]
updatecustomPoint(points_str: str)[source]

NanoVNASaver.Windows.DisplaySettings module

class NanoVNASaver.Windows.DisplaySettings.DisplaySettingsWindow(app: QWidget)[source]

Bases: QWidget

addMarker()[source]
addVSWRMarker()[source]
changeChart(x, y, chart)[source]
changeDarkMode()[source]
changeFilledMarkers()[source]
changeFont()[source]
changeLineThickness(size: int)[source]
changeMarkerAtTip()[source]
changeMarkerSize(size: int)[source]
changePointSize(size: int)[source]
changeReturnLoss()[source]
changeSetting(setting: str, value: str)[source]
changeShowLines()[source]
changeShowMarkerNumber()[source]
color_picker(setting: str, attr: str) QPushButton[source]
custom_colors(layout: QLayout)[source]
displayBandsWindow()[source]
displayMarkerWindow()[source]
removeMarker()[source]
removeVSWRMarker()[source]
setColor()[source]
setShowBands(show_bands)[source]
trace_colors(layout: QLayout)[source]
updateCharts()[source]

NanoVNASaver.Windows.Files module

class NanoVNASaver.Windows.Files.FilesWindow(app: QWidget)[source]

Bases: QWidget

exportFile(nr_params: int = 1)[source]
loadReferenceFile()[source]
loadSweepFile()[source]

NanoVNASaver.Windows.MarkerSettings module

class NanoVNASaver.Windows.MarkerSettings.MarkerSettingsWindow(app: QWidget)[source]

Bases: QWidget

applyButtonClick()[source]
cancelButtonClick()[source]
defaultButtonClick()[source]
exampleData11 = [Datapoint(freq=123000000, re=0.89, im=-0.11), Datapoint(freq=123500000, re=0.9, im=-0.1), Datapoint(freq=124000000, re=0.91, im=-0.95)]
exampleData21 = [Datapoint(freq=123000000, re=-0.25, im=0.49), Datapoint(freq=123456000, re=-0.3, im=0.5), Datapoint(freq=124000000, re=-0.2, im=0.5)]
okButtonClick()[source]
updateField(field: QStandardItem)[source]
updateMarker()[source]
update_displayed_data_form()[source]

NanoVNASaver.Windows.Screenshot module

class NanoVNASaver.Windows.Screenshot.ScreenshotWindow[source]

Bases: QLabel

pix = None
resizeEvent(self, a0: Optional[QResizeEvent])[source]
saveScreenshot()[source]
setScale(scale)[source]
setScreenshot(pixmap: QPixmap)[source]

NanoVNASaver.Windows.SweepSettings module

class NanoVNASaver.Windows.SweepSettings.SweepSettingsWindow(app: QWidget)[source]

Bases: QWidget

settings_box() QWidget[source]
sweep_box() QWidget[source]
title_box()[source]
update_attenuator(value: QLineEdit)[source]
update_averaging(averages: QLineEdit, truncs: QLineEdit)[source]
update_band(apply: bool = False)[source]
update_logarithmic(logarithmic: bool)[source]
update_mode(mode: SweepMode)[source]
update_padding(padding: int)[source]
update_title(title: str = '')[source]
update_tx_power(freq_range, power_desc)[source]
vna_connected()[source]

NanoVNASaver.Windows.TDR module

class NanoVNASaver.Windows.TDR.TDRWindow(app: QWidget)[source]

Bases: QWidget

updateTDR()[source]
updated

int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type:

pyqtSignal(*types, name

Type:

str = …, revision

Module contents

class NanoVNASaver.Windows.AboutWindow(app: QWidget)[source]

Bases: QWidget

findUpdates(automatic=False)[source]
show(self)[source]
updateLabels()[source]
class NanoVNASaver.Windows.AnalysisWindow(app: QWidget)[source]

Bases: QWidget

analyses = []
analysis: Analysis = None
runAnalysis()[source]
toggleAutomaticRun(state: CheckState)[source]
updateSelection()[source]
class NanoVNASaver.Windows.BandsWindow(app: QWidget)[source]

Bases: QWidget

deleteRows()[source]
resetBands()[source]
class NanoVNASaver.Windows.CalibrationWindow(app: QWidget)[source]

Bases: QWidget

automaticCalibration()[source]
automaticCalibrationStep()[source]
cal_save(name: str)[source]
calculate()[source]
checkExpertUser()[source]
deleteCalibrationStandard()[source]
idealCheckboxChanged()[source]
listCalibrationStandards()[source]
loadCalibration()[source]
loadCalibrationStandard()[source]
manual_save(name: str)[source]
nextStep = -1
reset()[source]
saveCalibration()[source]
saveCalibrationStandard()[source]
setOffsetDelay(value: float)[source]
class NanoVNASaver.Windows.DeviceSettingsWindow(app: QWidget)[source]

Bases: QWidget

captureScreenshot()[source]
customPoint_check(validate_data: bool)[source]
custom_points_Eidt

alias of QLineEdit

custom_points_checkBox

alias of QCheckBox

show(self)[source]
updateBandwidth(i)[source]
updateFields()[source]
updateNrDatapoints(i)[source]
updateValidation(validate_data: bool)[source]
updatecustomPoint(points_str: str)[source]
class NanoVNASaver.Windows.DisplaySettingsWindow(app: QWidget)[source]

Bases: QWidget

addMarker()[source]
addVSWRMarker()[source]
changeChart(x, y, chart)[source]
changeDarkMode()[source]
changeFilledMarkers()[source]
changeFont()[source]
changeLineThickness(size: int)[source]
changeMarkerAtTip()[source]
changeMarkerSize(size: int)[source]
changePointSize(size: int)[source]
changeReturnLoss()[source]
changeSetting(setting: str, value: str)[source]
changeShowLines()[source]
changeShowMarkerNumber()[source]
color_picker(setting: str, attr: str) QPushButton[source]
custom_colors(layout: QLayout)[source]
displayBandsWindow()[source]
displayMarkerWindow()[source]
removeMarker()[source]
removeVSWRMarker()[source]
setColor()[source]
setShowBands(show_bands)[source]
trace_colors(layout: QLayout)[source]
updateCharts()[source]
class NanoVNASaver.Windows.FilesWindow(app: QWidget)[source]

Bases: QWidget

exportFile(nr_params: int = 1)[source]
loadReferenceFile()[source]
loadSweepFile()[source]
class NanoVNASaver.Windows.MarkerSettingsWindow(app: QWidget)[source]

Bases: QWidget

applyButtonClick()[source]
cancelButtonClick()[source]
defaultButtonClick()[source]
exampleData11 = [Datapoint(freq=123000000, re=0.89, im=-0.11), Datapoint(freq=123500000, re=0.9, im=-0.1), Datapoint(freq=124000000, re=0.91, im=-0.95)]
exampleData21 = [Datapoint(freq=123000000, re=-0.25, im=0.49), Datapoint(freq=123456000, re=-0.3, im=0.5), Datapoint(freq=124000000, re=-0.2, im=0.5)]
okButtonClick()[source]
updateField(field: QStandardItem)[source]
updateMarker()[source]
update_displayed_data_form()[source]
class NanoVNASaver.Windows.ScreenshotWindow[source]

Bases: QLabel

pix = None
resizeEvent(self, a0: Optional[QResizeEvent])[source]
saveScreenshot()[source]
setScale(scale)[source]
setScreenshot(pixmap: QPixmap)[source]
class NanoVNASaver.Windows.SweepSettingsWindow(app: QWidget)[source]

Bases: QWidget

settings_box() QWidget[source]
sweep_box() QWidget[source]
title_box()[source]
update_attenuator(value: QLineEdit)[source]
update_averaging(averages: QLineEdit, truncs: QLineEdit)[source]
update_band(apply: bool = False)[source]
update_logarithmic(logarithmic: bool)[source]
update_mode(mode: SweepMode)[source]
update_padding(padding: int)[source]
update_title(title: str = '')[source]
update_tx_power(freq_range, power_desc)[source]
vna_connected()[source]
class NanoVNASaver.Windows.TDRWindow(app: QWidget)[source]

Bases: QWidget

updateTDR()[source]
updated

int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type:

pyqtSignal(*types, name

Type:

str = …, revision