Some further debugging and some nice optics

This commit is contained in:
2026-01-26 12:51:49 +01:00
committed by reiche
parent aa0cf00664
commit 171b19280a
4 changed files with 25 additions and 10 deletions
+3 -1
View File
@@ -38,6 +38,8 @@ class OpticsPlot(QtWidgets.QMainWindow, Ui_OpticsPlotGUI):
self.PAlphay.toggled.connect(self.doplot)
self.PEtax.toggled.connect(self.doplot)
self.PEtay.toggled.connect(self.doplot)
self.PMux.toggled.connect(self.doplot)
self.PMuy.toggled.connect(self.doplot)
self.PR56.toggled.connect(self.doplot)
self.PEnergy.toggled.connect(self.doplot)
self.PStart.editingFinished.connect(self.doplot)
@@ -96,7 +98,7 @@ class OpticsPlot(QtWidgets.QMainWindow, Ui_OpticsPlotGUI):
self.doplot()
def newReference(self):
self.twissref=copy.deepcopy(self.twiss)
self.twissref=self.twiss
self.energyref=copy.deepcopy(self.energy)
def newData(self,twiss,energy):