Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.8.0 #155

Merged
merged 5 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading