Skip to content

Commit

Permalink
LPA Channel: Move Periods (#373)
Browse files Browse the repository at this point in the history
* LPA Channel: Move Periods

Move from long lattice to looped lattice.

* Update examples/positron_channel/run_positron.py

---------

Co-authored-by: Chad Mitchell <[email protected]>
  • Loading branch information
ax3l and cemitch99 authored Jun 2, 2023
1 parent a5e77d9 commit 496065d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions examples/positron_channel/run_positron.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,10 @@
monitor,
]

num_periods = 250
sim.lattice.extend(period)

lattice = period * num_periods

sim.lattice.extend(lattice)
# number of periods through the lattice
sim.periods = 250

# run simulation
sim.evolve()
Expand Down

0 comments on commit 496065d

Please sign in to comment.