Use elegant and GEECS-PythonAPI to optimize electro- and permanent quadrupole magnets in BELLA HTU's electron beam transport system.
This project uses rsopt
, which uses pykern
to install it. Since this doesn't
play well with the pyproject.toml
paradigm, the pyproject.toml
contains
all dependencies except rsopt
, which then needs to be installed afterward.
If using poetry
(preferred), rsopt
needs to be installed into the virtual
environment created by poetry
after the other dependencies, because it's not
possible (afaik) for poetry to provide rsopt
's build dependency pykern
.
The INSTALL.sh
script creates the environment and its dependencies, and it
installs rsopt
Please see resopt_simulation_manager/README.md for full instructions. But to get started:
- Start the simulation manager with
poetry run python rsopt_simulation_manager/run.py
and open the given address in a browser. - Set the RSOpt files and results directories in Settings
- Create an Experiment
- Start a Run