Optimizing SF+ matching including sextupoles.
Lattice plots have now also an indication for screens
This commit is contained in:
9
plot.py
9
plot.py
@@ -297,6 +297,15 @@ class OpticsPlot(QtWidgets.QMainWindow, Ui_OpticsPlotGUI):
|
||||
s2 = s[i]
|
||||
self.axes2.add_patch(patches.Rectangle((s1, 0.89), (s2 - s1), 0.02, facecolor='cyan', edgecolor="none"))
|
||||
|
||||
if 'dscr' in name:
|
||||
if 'start' in name:
|
||||
sstart = s[i]
|
||||
if 'end' in name:
|
||||
s1 = sstart
|
||||
s2 = s[i]
|
||||
self.axes2.add_patch(
|
||||
patches.Rectangle((s1, 0.89), (s2 - s1), 0.02, facecolor='orange', edgecolor="none"))
|
||||
|
||||
if 'mqua' in name:
|
||||
if splitquads == True:
|
||||
if 'end' in name:
|
||||
|
||||
Reference in New Issue
Block a user