Commit e5312b12 authored by Stephanie Radel's avatar Stephanie Radel
Browse files

added current command to call xml2astra script

parent 48caff12
......@@ -12,4 +12,7 @@ six==1.12.0
soupsieve==1.9.2
sympy==1.4
To use xml2astra the file 'xml2astra.py' from the 'xml2astra'-project (collected with other programs in acc-utilities) has to be called in python. Astra was initially designed for linear accelerator and dipoles were included later. Thus the number of dipoles in the converting beamline define the number of output files. If the defined beam passes a dipole the particles are bended. The bended particle distribution can not be used for the next part of the beamline without any further process. To rotate the distribution back into the initial direction use 'rotate.py'.
\ No newline at end of file
To use xml2astra the file 'xml2astra.py' from the 'xml2astra'-project (collected with other programs in acc-utilities) has to be called in python. Astra was initially designed for linear accelerator and dipoles were included later. Thus the number of dipoles in the converting beamline define the number of output files. If the defined beam passes a dipole the particles are bended. The bended particle distribution can not be used for the next part of the beamline without any further process. To rotate the distribution back into the initial direction use 'rotate.py'.
To call this python script:
'python /acc-utilities/xml2astra/xml2astra.py egun/ehat/fc4.xml'
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment