Source code for siriushla.as_ps_control.control_widget.DipoleControlWidget

"""Widgets to control Dipoles."""

from .BasePSControlWidget import BasePSControlWidget


[docs] class LISpectControlWidget(BasePSControlWidget): """Class to control Dipole power supplies.""" def _getFilter(self, subsection=None): return {"sec": "LI", "dev": "Spect.*"} def _getGroups(self): return [('Spectrometer', "-Spect.*")]
[docs] class TBDipoleControlWidget(BasePSControlWidget): """Class to control Dipole power supplies.""" def _getFilter(self, subsection=None): return {"sec": "TB", "sub": "Fam", "dev": "B.*"} def _getGroups(self): return [('Dipoles', "-B.*")]
[docs] class BODipoleControlWidget(BasePSControlWidget): """Class to control Dipole power supplies.""" def _getFilter(self, subsection=None): return {"sec": "BO", "sub": "Fam", "dev": "B.*"} def _getGroups(self): return [('Dipoles', "-B.*")]
[docs] class TSDipoleControlWidget(BasePSControlWidget): """Class to control Dipole power supplies.""" def _getFilter(self, subsection=None): return {"sec": "TS", "sub": "Fam", "dev": "B.*"} def _getGroups(self): return [('Dipoles', "-B.*")]
[docs] class SIDipoleControlWidget(BasePSControlWidget): """Class to control Dipole power supplies.""" def _getFilter(self, subsection=None): return {"sec": "SI", "sub": "Fam", "dev": "B.*"} def _getGroups(self): return [('Dipoles', "-B.*")]