Some further debugging and some nice optics

This commit is contained in:
2025-05-08 17:56:34 +02:00
committed by Sven
parent aa0cf00664
commit 171b19280a
4 changed files with 25 additions and 10 deletions

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):