Dear Didier/TraceWin Users,
I am inquiring about the possibility of writing a selected beam parameter to a file after a simulation concludes. For instance, is there a command enabling the simulation to output data for specific parameters like beam energy or emittance throughout the lattice? Although the "partran1.out" file includes many parameters, I am seeking a method to extract a particular one into a separate file.
Could you please provide guidance on how to achieve this?
Thank you.
Best regards,
Abhishek Pathak
Writing Specific Data to File Post-Simulation
Re: Writing Specific Data to File Post-Simulation
Dear Abhishek,
As you point out, partran.out contains most of the parameters you need, and in particular those you are asking for. So sometimes a little simple calculation is needed to get it, like the energy from the gamma parameter, but normally everything is present in the file. Under these conditions, or I haven't understood your request, but I don't see the point in creating additional files.
Regards,
Didier
As you point out, partran.out contains most of the parameters you need, and in particular those you are asking for. So sometimes a little simple calculation is needed to get it, like the energy from the gamma parameter, but normally everything is present in the file. Under these conditions, or I haven't understood your request, but I don't see the point in creating additional files.
Regards,
Didier