PaNOSC-ViNYL / SimEx-Lite

The core package of the SIMEX platform providing the calculator interfaces. https://simex-lite.readthedocs.io/
Other
1 stars 5 forks source link

Enhancement: Process beamlines downloaded from SiRepo's SRW tool #41

Open CFGrote opened 10 months ago

CFGrote commented 10 months ago

SiRepo makes it very intuitive and simple to configure a beamline and to propagate a Gaussian beam through it. Downloading a beamline configuration is supported. A py script is generated that contains the beamline definition using srwpy's syntax.

Make a utility in simex(-lite) that reads (imports) the downloaded srwpy script and constructs a valid WPG beamline out of it that can be digested by the WPGPropagator.

CFGrote commented 10 months ago

check simex, wpg, or libpyvinyl for prototypes