sknrf.view.desktop.calibration.wizard.base module

This module defines the default behaviour of the Calibration Wizard. See Also ———- sknrf.model.base.AbstractModel

class sknrf.view.desktop.calibration.wizard.base.ComponentButton(*args, parent=None)

Bases: QPushButton

resizeEvent(self, event: PySide6.QtGui.QResizeEvent) None
staticMetaObject = PySide6.QtCore.QMetaObject("ComponentButton" inherits "QPushButton": )
class sknrf.view.desktop.calibration.wizard.base.AbstractPortPage(_parent)

Bases: QWizardPage

connect_signals()
disconnect_signals()
wizard(self) PySide6.QtWidgets.QWizard
set_port_indices(port_index)
set_port_connector(port_index)
load_adapter(port_index)
set_calkit_connector(port_index)
isComplete()

Defines the conditions that must be satisfied befor proceeding to the the next page.

update(self) None
update(self, arg__1: PySide6.QtCore.QRect) None
update(self, arg__1: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) None
update(self, x: int, y: int, w: int, h: int) None
staticMetaObject = PySide6.QtCore.QMetaObject("AbstractPortPage" inherits "QWizardPage": Methods:   #37 type=Slot, signature=set_port_connector(QString), parameters=QString   #38 type=Slot, signature=set_calkit_connector(QString), parameters=QString )
class sknrf.view.desktop.calibration.wizard.base.AbstractInstrumentPage(_parent)

Bases: QWizardPage

connect_signals()
disconnect_signals()
wizard(self) PySide6.QtWidgets.QWizard
add_instrument(instrument_flags, checked_map=OrderedDict([(<InstrumentFlag.LFSOURCE: 1>, True), (<InstrumentFlag.LFRECEIVER: 2>, True), (<InstrumentFlag.LFZTUNER: 4>, True), (<InstrumentFlag.RFSOURCE: 8>, True), (<InstrumentFlag.RFRECEIVER: 16>, True), (<InstrumentFlag.RFZTUNER: 32>, True)]))
set_instrument(index)
isComplete()

Defines the conditions that must be satisfied before proceeding to the the next page.

update(self) None
update(self, arg__1: PySide6.QtCore.QRect) None
update(self, arg__1: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) None
update(self, x: int, y: int, w: int, h: int) None
staticMetaObject = PySide6.QtCore.QMetaObject("AbstractInstrumentPage" inherits "QWizardPage": )
class sknrf.view.desktop.calibration.wizard.base.AbstractRequirementsPage(_parent)

Bases: QWizardPage

wizard(self) PySide6.QtWidgets.QWizard
connect_signals()
disconnect_signals()
add_requirement(requirement_str)

Adds a READ ONLY Requirement check-box to the page.

add_recommendation(recommendation_str)

Adds a recommendation check-box to the page.

abstract check_requirements()

Checks the status of each requirement and automatically defines the state of each requirement checkbox.

abstract check_recommendations()

Checks the status of each recommendation and defines the default state of each recommendation checkbox.

set_recommendations(index=-1)
isComplete(index=-1)

Defines the conditions that must be satisfied before proceeding to the the next page.

update(self) None
update(self, arg__1: PySide6.QtCore.QRect) None
update(self, arg__1: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) None
update(self, x: int, y: int, w: int, h: int) None
staticMetaObject = PySide6.QtCore.QMetaObject("AbstractRequirementsPage" inherits "QWizardPage": )
class sknrf.view.desktop.calibration.wizard.base.AbstractContentPage(_parent, name='', component_names=(), optional=False)

Bases: QWizardPage

connect_signals()
disconnect_signals()
wizard(self) PySide6.QtWidgets.QWizard
name_info(component_index=-1, filename='')
load_ideal(component_index)
set_ideal(component_index, filename)
update(self) None
update(self, arg__1: PySide6.QtCore.QRect) None
update(self, arg__1: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) None
update(self, x: int, y: int, w: int, h: int) None
staticMetaObject = PySide6.QtCore.QMetaObject("AbstractContentPage" inherits "QWizardPage": )
class sknrf.view.desktop.calibration.wizard.base.AbstractConclusionPage(_parent=None)

Bases: QWizardPage

wizard(self) PySide6.QtWidgets.QWizard
property calibration_passed
isComplete()

Defines the conditions that must be satisfied befor proceeding to the the next page.

update(self) None
update(self, arg__1: PySide6.QtCore.QRect) None
update(self, arg__1: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) None
update(self, x: int, y: int, w: int, h: int) None
staticMetaObject = PySide6.QtCore.QMetaObject("AbstractConclusionPage" inherits "QWizardPage": )
class sknrf.view.desktop.calibration.wizard.base.AbstractCalibrationWizard(parent=None, calkit_package=None, calkit_icon=<PySide6.QtGui.QIcon(null)>)

Bases: QWizard, Ui_calibrationWizard, AbstractView

calkit_loaded
calkit_removed
single_measurement
calkit_menu_closed
loaded_calibration
connect_signals()
disconnect_signals()
show(self) None
set_model(model, calkit_model)
insert_content_pages(new_pages, page_id=-1)

Insert a content page into the wizard before page_id.

abstract insert_optional_content_page()
abstract initialize_content_pages()
port_indices()
set_port_indices(port_indices)
port_connector(port_index)
set_port_connector(port_index, connector)
adapter_filename(port_index)
set_adapter_filename(port_index, filename)
calkit_connector(port_index)
set_calkit_connector(port_index, connector)
set_instrument(instrument_flags)
clicked_menu_button(checked=False)
page_changed(id)

Update the contents of the new page.

custom_clicked(which)

Update the contents of the new page.

load()
save()
load_ideal(component_index, page=None)
set_ideal(component_index, filename, page=None)
measure(page=None)

Measures the calibration standard.

set_measurement(page=None)

Records the current calibration measurement.

save_measurement(page=None)
nextId(self) int
calculate()
accept(self) None
staticMetaObject = PySide6.QtCore.QMetaObject("AbstractCalibrationWizard" inherits "QWizard": Methods:   #54 type=Signal, signature=calkit_loaded(PyObject,PyObject), parameters=PyObject, PyObject   #55 type=Signal, signature=calkit_removed(PyObject), parameters=PyObject   #56 type=Signal, signature=single_measurement()   #57 type=Signal, signature=calkit_menu_closed()   #58 type=Signal, signature=loaded_calibration() )
update(self) None
update(self, arg__1: PySide6.QtCore.QRect) None
update(self, arg__1: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) None
update(self, x: int, y: int, w: int, h: int) None