Skip to content

Commit

Permalink
Waterbag Updates (sigma->lambda)
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Mar 26, 2024
1 parent 1c5b11f commit c9874b3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions examples/optimize_triplet/run_triplet.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ def run(parameters: tuple, write_particles=False, write_reduced=False) -> dict:

# particle bunch
distr = distribution.Waterbag(
sigmaX=2.0e-4,
sigmaY=2.0e-4,
sigmaT=3.1622776602e-5,
sigmaPx=1.1180339887e-5,
sigmaPy=1.1180339887e-5,
sigmaPt=3.1622776602e-5,
lambdaX=2.0e-4,
lambdaY=2.0e-4,
lambdaT=3.1622776602e-5,
lambdaPx=1.1180339887e-5,
lambdaPy=1.1180339887e-5,
lambdaPt=3.1622776602e-5,
muxpx=0.894427190999916,
muypy=-0.894427190999916,
mutpt=0.0,
Expand Down
12 changes: 6 additions & 6 deletions tests/python/test_xopt.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ def run(parameters: dict, write_particles=False, write_reduced=False) -> dict:

# particle bunch
distr = distribution.Waterbag(
sigmaX=2.0e-4,
sigmaY=2.0e-4,
sigmaT=3.1622776602e-5,
sigmaPx=1.1180339887e-5,
sigmaPy=1.1180339887e-5,
sigmaPt=3.1622776602e-5,
lambdaX=2.0e-4,
lambdaY=2.0e-4,
lambdaT=3.1622776602e-5,
lambdaPx=1.1180339887e-5,
lambdaPy=1.1180339887e-5,
lambdaPt=3.1622776602e-5,
muxpx=0.894427190999916,
muypy=-0.894427190999916,
mutpt=0.0,
Expand Down

0 comments on commit c9874b3

Please sign in to comment.