Skip to content

Commit

Permalink
Delete unnecessary emittance comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
cemitch99 authored Jan 25, 2025
1 parent 69bcbb2 commit a94e676
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions examples/scraping_beam/analysis_scraping.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,18 +147,6 @@ def get_moments(beam):
atol=atol,
)

atol = 1.0e-11 # ignored
assert np.allclose(
[sigpt, emittance_x, emittance_y, emittance_t],
[
0.0,
0.0,
0.0,
0.0,
],
atol=atol,
)

charge_i = initial_beam.get_attribute("charge_C")
charge_f = final_beam.get_attribute("charge_C")

Expand Down

0 comments on commit a94e676

Please sign in to comment.