Elegant

It is possible in a limited sense to replicate what SLACtrac does in Elegant. Generally, Elegant is a more capable code- however, it is not 1:1 equivalent to SLACtrac, and there are features and things SLACtrac does that Elegant does not do.

Functions

elegant_sim(beamline[, dir, filename]) Creates and runs a simulation in Elegant.