Skip to content
Snippets Groups Projects
Commit 47313297 authored by Giovanni Iadarola's avatar Giovanni Iadarola
Browse files

No cycle (needs Xtrack v0.48.0)

parent f95cc3ca
No related branches found
No related tags found
No related merge requests found
Pipeline #6629895 failed with stages
in 17 seconds
......@@ -150,12 +150,6 @@ LUMI_KNOBS = [
def match_single_baem_ip_knobs(collider, knobs_to_match):
assert np.isclose(collider.lhcb1.get_table()['s', 'ip1'], 0, rtol=0, atol=1e-9)
assert np.isclose(collider.lhcb2.get_table()['s', 'ip1.l1'], 0, rtol=0, atol=1e-9)
collider.lhcb1.cycle('ip3', inplace=True)
collider.lhcb2.cycle('ip3', inplace=True)
opt_knobs = {}
for knob in knobs_to_match:
knob_name = knob['knob_name']
......@@ -189,9 +183,6 @@ def match_single_baem_ip_knobs(collider, knobs_to_match):
opt.generate_knob()
opt_knobs[knob_name] = opt
collider.lhcb1.cycle('ip1', inplace=True)
collider.lhcb2.cycle('ip1', inplace=True)
def match_lumi_kbobs(collider):
match_single_baem_ip_knobs(collider, LUMI_KNOBS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment