Skip to content

Commit 9b2db31

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 069fea5 commit 9b2db31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/multi_stage/analysis_script.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def get_emittance(ts, t):
1717
xu = np.average(x * ux, weights=w)
1818
return np.sqrt(x2 * u2 - xu**2)
1919

20+
2021
def analyze_simulation(simulation_directory, output_params):
2122
"""Analyze the output of the WarpX simulation.
2223

0 commit comments

Comments
 (0)