nomad_camels.manual_controls package

Subpackages

Submodules

nomad_camels.manual_controls.get_manual_controls module

This package provides access to all classes of Manual_Control that can be used by CAMELS, including device specific ones.

class nomad_camels.manual_controls.get_manual_controls.New_Manual_Control_Dialog(parent=None)

Bases: QDialog

A dialog that provides the user with a selection of available manual controls.

accept()

Writes the control that was selected into self.selected_control.

staticMetaObject = PySide6.QtCore.QMetaObject("New_Manual_Control_Dialog" inherits "QDialog": )
nomad_camels.manual_controls.get_manual_controls.get_control_by_type_name(name)

Returns a tuple/list of the specified control’s class / config-class.

Parameters:

name (str) – Name of the manual control (could be CAMELS-main or instrument specific)

Return type:

tuple(Manual_Control, Manual_Control_Config)

nomad_camels.manual_controls.get_manual_controls.get_instrument_controls()

Goes through all configured instruments and checks them for manual controls. If there are any, they will be added to a dictionary.

Returns:

controls – Dictionary with the manual controls and there config widgets.

Return type:

dict{‘<name>’: (Manual_Control, Manual_Control_Config)}

Module contents