Currently, the ramps are set up when individual Stage.track() are called, which in turn calls Stage._prepare_ramps(). As mentioned in PR #200, but a better solution may be to call Stage._prepare_ramps() in PlasmaLinac.assemble_trackables() for all stages and set up all ramps there instead.
Currently, the ramps are set up when individual
Stage.track()are called, which in turn callsStage._prepare_ramps(). As mentioned in PR #200, but a better solution may be to callStage._prepare_ramps()inPlasmaLinac.assemble_trackables()for all stages and set up all ramps there instead.