Skip to content

Commit

Permalink
not fstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
fsoubelet committed Aug 9, 2024
1 parent 9a2898d commit a3c61c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optics_functions/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def switch_signs_for_beam4(
but in the errors they do (otherwise it would compensate).
Magnet orders that show anti-symmetry are: a1 (K0SL), b2 (K1L), a3 (K2SL), b4 (K3L) etc.
Also the sign for (delta) X is switched back to have the same orientation as beam2."""
LOG.debug(f"Switching signs for X and K(S)L values when needed, to match Beam 4 to Beam 2.")
LOG.debug("Switching signs for X and K(S)L values when needed, to match Beam 4 to Beam 2.")
df_twiss, df_errors = df_twiss.copy(), df_errors.copy()
df_twiss[X] = -df_twiss[X]

Expand Down

0 comments on commit a3c61c4

Please sign in to comment.