@@ -683,9 +683,9 @@ def test_stress_co_correction_and_lumi_leveling():
683683 solver_options = { # Standard jacobian settings not sufficient
684684 #(fsolve makes it in less iterations)
685685 'n_bisections' : 3 , 'min_step' : 0 , 'n_steps_max' : 200 },
686- ele_start = ['e.ds.l8.b1' , 's.ds.r8.b2' ],
687- ele_stop = ['s.ds.r8.b1' , 'e.ds.l8.b2' ],
688- twiss_init = tw0 , ele_init = xt .START ,
686+ start = ['e.ds.l8.b1' , 's.ds.r8.b2' ],
687+ end = ['s.ds.r8.b1' , 'e.ds.l8.b2' ],
688+ init = tw0 , init_at = xt .START ,
689689 lines = ['lhcb1' , 'lhcb2' ],
690690 vary = [
691691 # Knobs to control the separation
@@ -718,9 +718,9 @@ def test_stress_co_correction_and_lumi_leveling():
718718 #(fsolve makes it in less iterations)
719719 'n_bisections' : 3 , 'min_step' : 0 , 'n_steps_max' : 200 },
720720 lines = ['lhcb1' , 'lhcb2' ],
721- ele_start = ['e.ds.l8.b1' , 's.ds.r8.b2' ],
722- ele_stop = ['s.ds.r8.b1' , 'e.ds.l8.b2' ],
723- twiss_init = tw0 , ele_init = xt .START ,
721+ start = ['e.ds.l8.b1' , 's.ds.r8.b2' ],
722+ end = ['s.ds.r8.b1' , 'e.ds.l8.b2' ],
723+ init = tw0 , init_at = xt .START ,
724724 targets = [
725725 xt .TargetLuminosity (
726726 ip_name = 'ip8' , luminosity = 2e14 , tol = 1e12 , f_rev = f_rev ,
@@ -833,9 +833,9 @@ def test_stress_co_correction_and_lumi_leveling():
833833 tw0 = collider .twiss (lines = ['lhcb1' , 'lhcb2' ])
834834 collider .match (
835835 lines = ['lhcb1' , 'lhcb2' ],
836- ele_start = ['e.ds.l2.b1' , 's.ds.r2.b2' ],
837- ele_stop = ['s.ds.r2.b1' , 'e.ds.l2.b2' ],
838- twiss_init = tw0 , ele_init = xt .START ,
836+ start = ['e.ds.l2.b1' , 's.ds.r2.b2' ],
837+ end = ['s.ds.r2.b1' , 'e.ds.l2.b2' ],
838+ init = tw0 , init_at = xt .START ,
839839 targets = [
840840 xt .TargetSeparation (ip_name = 'ip2' , separation_norm = 3 , plane = 'x' , tol = 1e-4 ,
841841 nemitt_x = nemitt_x , nemitt_y = nemitt_y ),
@@ -1546,9 +1546,9 @@ def test_multiline_match():
15461546
15471547 tw_part = collider .twiss (
15481548 lines = ['lhcb1' , 'lhcb2' ],
1549- ele_start = ['ip5' , 'ip6' ],
1550- ele_stop = ['ip6' , 'ip5' ],
1551- twiss_init = [tw .lhcb1 .get_twiss_init (at_element = 'ip5' ), tw .lhcb2 .get_twiss_init (at_element = 'ip6' )]
1549+ start = ['ip5' , 'ip6' ],
1550+ end = ['ip6' , 'ip5' ],
1551+ init = [tw .lhcb1 .get_twiss_init (at_element = 'ip5' ), tw .lhcb2 .get_twiss_init (at_element = 'ip6' )]
15521552 )
15531553
15541554 # Add some asserts here
@@ -1584,9 +1584,9 @@ def test_multiline_match():
15841584 tw0 = collider .twiss (lines = ['lhcb1' , 'lhcb2' ])
15851585 collider .match (
15861586 lines = ['lhcb1' , 'lhcb2' ],
1587- ele_start = ['mq.33l8.b1' , 'mq.22l8.b2' ],
1588- ele_stop = ['mq.23l8.b1' , 'mq.32l8.b2' ],
1589- twiss_init = tw0 , ele_init = xt .START ,
1587+ start = ['mq.33l8.b1' , 'mq.22l8.b2' ],
1588+ end = ['mq.23l8.b1' , 'mq.32l8.b2' ],
1589+ init = tw0 , init_at = xt .START ,
15901590 vary = [
15911591 xt .VaryList ([
15921592 'acbv30.l8b1' , 'acbv28.l8b1' , 'acbv26.l8b1' , 'acbv24.l8b1' ],
0 commit comments