We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 931571f commit dd1d609Copy full SHA for dd1d609
tests/test_models.py
@@ -8,7 +8,7 @@ def test_beam_parameters():
8
charge=1,
9
pc_GeV=1.9,
10
E_0_GeV=0.9382720813,
11
- nemitt_x=5e-6,
+ nemitt_x=3e-6,
12
nemitt_y=5e-6,
13
deltap_p=2e-3,
14
verbose=True,
@@ -18,7 +18,8 @@ def test_beam_parameters():
18
assert math.isclose(beam.E_kin_GeV, 1.1807735761946736)
19
assert math.isclose(beam.gamma_rel, 2.258455409393277)
20
assert math.isclose(beam.beta_rel, 0.8966300434726596)
21
- assert math.isclose(beam.nemitt_x, 5e-06)
+ assert math.isclose(beam.nemitt_x, 3e-06)
22
+ assert math.isclose(beam.gemitt_x, 1.1910308785510202e-06)
23
assert math.isclose(beam.gemitt_y, 1.9850514642517005e-06)
24
beam.__str__()
25
beam.__repr__()
0 commit comments