Skip to content

Commit

Permalink
Merge pull request #155 from AngelFP/release-0.8.0
Browse files Browse the repository at this point in the history
Release `v0.8.0`
  • Loading branch information
AngelFP authored May 15, 2024
2 parents b45e9cf + 5792feb commit ed57f5a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/test_field_quadrupole.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_field_vs_tm_quadrupole():
ene=gamma_avg, ene_sp=ene_spread, s_t=s_t, xi_c=xi_avg,
q_tot=q_bunch, n_part=n_part, name='elec_bunch')

bunch_2 = copy.deepcopy(bunch_1)
bunch_2 = bunch_1.copy()

foc_strength = 100 # T/m
quadrupole_length = 0.05 # m
Expand Down
4 changes: 2 additions & 2 deletions tests/test_parabolic_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def parabolic_coefficient(z):
# Create identical bunches for each case.
bunch = get_matched_bunch(
1e-6, 1e-6, 200, 1, 3, laser.xi_c - 30e-6, 1e-6, 1e4, n_p=n_p)
bunch_1 = deepcopy(bunch)
bunch_2 = deepcopy(bunch)
bunch_1 = bunch.copy()
bunch_2 = bunch.copy()

# Create single plasma stage (containing all sections).
plasma_single = PlasmaStage(
Expand Down
2 changes: 1 addition & 1 deletion tutorials/01_single_plasma_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

plasma_target = PlasmaStage(
length=1e-2, density=1e23, wakefield_model='quasistatic_2d',
xi_max=30e-6, xi_min=-30e-6, r_max=30e-6, n_xi=60, n_r=30, ppc=4)
xi_max=30e-6, xi_min=-30e-6, r_max=30e-6, n_xi=120, n_r=60, ppc=4)

# %%
# Once the target is defined, we can track the beam through it simply by doing:
Expand Down
2 changes: 1 addition & 1 deletion wake_t/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.7.1'
__version__ = '0.8.0'


from .beamline_elements import (PlasmaStage, PlasmaRamp, ActivePlasmaLens,
Expand Down

0 comments on commit ed57f5a

Please sign in to comment.