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

generalized calling command

parent e5312b12
......@@ -15,4 +15,4 @@ 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'.
To call this python script:
'python /acc-utilities/xml2astra/xml2astra.py egun/ehat/fc4.xml'
\ No newline at end of file
'python /acc-utilities/xml2astra/xml2astra.py <desired xml-path>'
\ 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