Plot elements without GUI
Posted: Fri 28 Jun 2024 22:59
Dear Didier, Forum
I'm using TraceWin_noGUI as part of python script, my end goal is to plot beam envelope and elements using python matplotlib library.
The file tracewin.out include only beam envelope data, is there a way to generate output file with elements as a function of position along the beamline (some sort of PlotWin_noGUI)? Ideally I wish to refrain from using the GUI, all has to run automatically as background processes.
The motivation is to allow LINAC operators to see in real time (as much as possible) beam envelope changes as a function of varying LINAC parameters using tool software.
Thank you for your assistance
Yuri
I'm using TraceWin_noGUI as part of python script, my end goal is to plot beam envelope and elements using python matplotlib library.
The file tracewin.out include only beam envelope data, is there a way to generate output file with elements as a function of position along the beamline (some sort of PlotWin_noGUI)? Ideally I wish to refrain from using the GUI, all has to run automatically as background processes.
The motivation is to allow LINAC operators to see in real time (as much as possible) beam envelope changes as a function of varying LINAC parameters using tool software.
Thank you for your assistance
Yuri