Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
9680e87
Add SpaceChargeKick2D class and rename SpaceChargeKick3D
austin-hoover Sep 28, 2025
5012875
Add KV envelope benchmarks
austin-hoover Sep 28, 2025
2f46258
Change SpaceChargeKick to SpaceChargeKick3D/2D in tests
austin-hoover Oct 7, 2025
b76a7db
Add SpaceChargeKick2D to conftest.py
austin-hoover Oct 7, 2025
0a1847d
Fix tests
austin-hoover Oct 7, 2025
4530a14
Remove unused files
austin-hoover Oct 7, 2025
705a21d
Move sc2d test to tests/ directory
austin-hoover Oct 7, 2025
e8fcbd6
Format
austin-hoover Oct 7, 2025
8fc1cd9
Add test_vectorized
austin-hoover Oct 7, 2025
f20d5d6
Add test_incoming_beam_not_modified
austin-hoover Oct 7, 2025
c942804
Add test_does_not_break_segment_length
austin-hoover Oct 7, 2025
0a6a777
Copy more tests from sc3d
austin-hoover Oct 7, 2025
a0afa32
Format
austin-hoover Oct 7, 2025
2ff793a
Edit docstrings
austin-hoover Oct 7, 2025
ff48c96
Format
austin-hoover Oct 7, 2025
cfbf272
Format
austin-hoover Oct 7, 2025
212b372
Format
austin-hoover Oct 7, 2025
55c9619
Merge branch 'master' into sc2d
jank324 Mar 6, 2026
72a8cb3
Separate space charge kick elements into two separate files
jank324 Mar 6, 2026
5017a49
Apply suggestion from @jank324
jank324 Mar 6, 2026
a364a17
Apply suggestion from @jank324
jank324 Mar 6, 2026
870657a
Apply suggestion from @jank324
jank324 Mar 6, 2026
8ead4d5
Rename original space charge kick test file
jank324 Mar 6, 2026
b0ea112
Match 2D space charge style to 3D implementation and other Cheetah code
jank324 Mar 6, 2026
de676fd
Minor code matching between space charge kick test files
jank324 Mar 6, 2026
7dcfd3a
Fix formatting error
jank324 Mar 6, 2026
fd249c0
Add changelog entries
jank324 Mar 6, 2026
b349e4c
Merge branch 'master' into sc2d
jank324 Mar 6, 2026
3ff5b12
Apply suggestion from @Copilot
jank324 Mar 6, 2026
d638c42
Fix vectorisation issue pointed out by @Copilot
jank324 Mar 6, 2026
6c03c54
Fix error message wording
jank324 Mar 6, 2026
86b9c50
Merge branch 'master' into sc2d
jank324 Mar 6, 2026
1113565
Reshape beam_length array
austin-hoover Mar 6, 2026
4c0bb6e
Merge branch 'master' into sc2d
jank324 Mar 10, 2026
1172bcc
Fix how `beam_length` is reshaped
jank324 Mar 11, 2026
321dbf7
Replace 2D space charge kicks with those from 3D
jank324 Mar 11, 2026
3abef07
Merge branch 'master' into sc2d
jank324 Jul 7, 2026
bf01cd8
Refactor SpaceChargeKick2D to match SpaceChargeKick implementation
jank324 Jul 7, 2026
81986a5
Minor code formatting
jank324 Jul 7, 2026
887c2da
Various test changes to make 2D and 3D space charge tests match
jank324 Jul 7, 2026
de700b2
Fix 2D test
jank324 Jul 7, 2026
52819e0
Fix format failure
jank324 Jul 7, 2026
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
3 changes: 2 additions & 1 deletion cheetah/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
Segment,
Sextupole,
Solenoid,
SpaceChargeKick,
SpaceChargeKick3D,
SpaceChargeKick2D,
TransverseDeflectingCavity,
Undulator,
VerticalCorrector,
Expand Down
3 changes: 2 additions & 1 deletion cheetah/accelerator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
from .segment import Segment # noqa: F401
from .sextupole import Sextupole # noqa: F401
from .solenoid import Solenoid # noqa: F401
from .space_charge_kick import SpaceChargeKick # noqa: F401
from .space_charge_kick import SpaceChargeKick2D # noqa: F401
from .space_charge_kick import SpaceChargeKick3D # noqa: F401
from .transverse_deflecting_cavity import TransverseDeflectingCavity # noqa: F401
from .undulator import Undulator # noqa: F401
from .vertical_corrector import VerticalCorrector # noqa: F401
Loading
Loading