Skip to content

Commit

Permalink
correct timestep
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Massimo committed Jan 20, 2025
1 parent 77772c0 commit a437587
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/source/exercises.rst
Original file line number Diff line number Diff line change
Expand Up @@ -433,11 +433,11 @@ which hides the other charge density values.

import happi
S1=happi.Open("path/to/sim1")
Ex1=S1.Probe.Probe0("Ex",units=["um","fs","GV/m"],timesteps=1000,label="a0 = 0.5")
Ex1=S1.Probe.Probe0("Ex",units=["um","fs","GV/m"],timesteps=2000,label="a0 = 0.5")
S2=happi.Open("path/to/sim2")
Ex2=S2.Probe.Probe0("Ex",units=["um","fs","GV/m"],timesteps=1000,label="a0 = 1.4")
Ex2=S2.Probe.Probe0("Ex",units=["um","fs","GV/m"],timesteps=2000,label="a0 = 1.4")
S3=happi.Open("path/to/sim3")
Ex3=S3.Probe.Probe0("Ex",units=["um","fs","GV/m"],timesteps=1000,label="a0 = 2.0")
Ex3=S3.Probe.Probe0("Ex",units=["um","fs","GV/m"],timesteps=2000,label="a0 = 2.0")
happi.multiPlot(Ex1,Ex2,Ex3,figure=3,xlabel="x [um]")

Remember to substitute the real path of your simulations in the ``Open`` command.
Expand Down

0 comments on commit a437587

Please sign in to comment.