beamlineBuilder
Description
beamlineBuilder produces a lattice ELEGANT file based on a comma-seperated-value (cvs) table describing a beamline. The pogram also generates a beamline map and can also produce a CSStudio control screen. This tool was developed and tested at the AWA facility.
Usage
Currently the a table similar to AWA_example.ods need to be produced and save as a cvs file. Running the command
python beamlineBuilder.py >> YAG14_to_end.lte
produced an ELEGANT lattice file and a schematics of the beamline.
TODO
- improve table format to include CA variable
- connect script with https://git.cels.anl.gov/awa/pyctrl-awa/-/tree/main/csstudio_panelbuilder