Skip to content

Commit

Permalink
add import libraries in exercise 20
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Massimo committed Dec 5, 2023
1 parent 15a5c2b commit bf2497a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/source/exercises.rst
Original file line number Diff line number Diff line change
Expand Up @@ -678,8 +678,10 @@ as well as their weight (from which their charge can be computed).
**Hint 1:** You can extract the energy and charge of each macro-particle of the bunch at the desired ``timestep``, using::
import happi
import numpy as np
import scipy.constants
import math
import matplotlib.pyplot as plt
S=happi.Open()
Expand Down

0 comments on commit bf2497a

Please sign in to comment.