Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. calculate relative to design values using a dimensionless "LEM error", i.e. the ratio of the live momentum profile to the design profile

    Latex
    \[ BDES_{LEM} = \left \frac{E_{live}(s)}{E_{design}(s)} \right BDES_{design}
  2.  calculate relative to design values using design multipole coefficients (lcls style)
    1. get design multipole coefficients (k0_des, k1_des for bends/quads), and (effective) magnet lengths l_eff from the model
    2. calculate the live magnetic rigidity & required field strength (where E_live is in GeV) 

      Latex
      \[ B\rho(s) = \frac{E_{live}(s)}{299.792458*10^4}
      
      \[ BDES_{LEM} = B\rho * k_{design} * l_{eff}
  3. calculate relative to extant settings

    Latex
    \[ BDES_{LEM} = \left \frac{E_{live}(s)}{E_{old}(s)} \right * BDES_{extant}
    1. note: requires a previously implemented BLEM → if LEM is bootstrapping (i.e. run for the first time without reference to a previous trim) just skip the matching quads
    2. matching quads should always scale from extant values

...