slaclab / lcls-live

Tools for running the LCLS live accelerator models
https://slaclab.github.io/lcls-live/
Apache License 2.0
4 stars 8 forks source link

Add quad_corrector to sc datamaps #41

Closed ChristopherMayes closed 1 year ago

ChristopherMayes commented 1 year ago

This adds a quad_corrector datamap to all sc_ models. These are the corrector quads on top of the two solenoids in the injector: 'SQ01B', 'CQ01B', 'SQ02B', 'CQ02B'.

In Bmad they are modeled as MULTIPOLE elements, so the user must set field_master=T in order for the k1L attrribute to be interpreted as b1_gradient*L in T.