Skip to content

Commit

Permalink
Adapt to new xpart interface
Browse files Browse the repository at this point in the history
  • Loading branch information
giadarol committed Dec 1, 2021
1 parent 0b315b2 commit 38d0abb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@

tracker = xt.Tracker(line=line)

particles = xp.build_particles(particle_ref=partCO,
particles = xp.build_particles(particle_on_co=partCO,
mode='shift',
x=np.array(displace_x),
y=np.array(displace_y))

Expand Down

0 comments on commit 38d0abb

Please sign in to comment.