Skip to content

Commit

Permalink
currinfo.FIX: set MAX_CURRENT to a higher value
Browse files Browse the repository at this point in the history
MAX_CURRENT is now 1A. This value is used to check if the Currnet measurements along BO ramp are valid values to be used at charge calculation, but the check consider as valid only values lower than MAX_CURRENT. Since injector optimization the 150MeV current is bigger than 1A, so several measurements at this energy were ignored causing an erroneous calculation of cumulated charge at this energy.
  • Loading branch information
anacso17 committed Feb 10, 2025
1 parent 21785cb commit 880a8a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion siriuspy/siriuspy/currinfo/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class BOCurrInfoApp(_CurrInfoApp):

HARMNUM = 828
INTCURR_INTVL = 53.5 * 1e-3 / 3600 # [h]
MAX_CURRENT = 1.0 # [A]
MAX_CURRENT = 3.0 # [A]
ENERGY2TIME = { # energy: time[s]
'150MeV': 0.0000,
'1GeV': 0.0859,
Expand Down

0 comments on commit 880a8a9

Please sign in to comment.