-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Labels
component: diagnosticsall types of outputsall types of outputsquestionFurther information is requestedFurther information is requested
Description
Dear All,
I prepared an electron beam and studying its evolution in vacuum before coupling with other beamline elements. The electron has to travel 2 meters in vacuum. I used the following command to see the beam at 2 meter:
# add beam diagnostics
monitor = elements.BeamMonitor("monitor", backend="h5")
sim.lattice.extend([ monitor,
elements.Drift(name="drift", ds=2.0),
monitor])
# run simulation
sim.track_particles()For visualization, I used the attached python file. I noticed that the figure always giving me the initial electron beam and not after 2 meters.
Any suggestions will be highly appreciated.
Thank you.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component: diagnosticsall types of outputsall types of outputsquestionFurther information is requestedFurther information is requested