Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1279 commits
Select commit Hold shift + click to select a range
0dbf5a7
updated setup.py
sergey-tomin Mar 9, 2022
61318ac
Merge branch 'dev_2021' into dev
sergey-tomin Mar 17, 2022
e012023
added warning about changing trajectory solver from analytics to RK
sergey-tomin Mar 28, 2022
09db613
static method for quantum fluctuation in SpontanRadEffects
sergey-tomin Mar 28, 2022
39183a7
LostParticleRecorder was forgotten to initialize when ParticleArray i…
sergey-tomin Mar 31, 2022
a150fb3
the same number formats for astra file as in original ast files
sergey-tomin Apr 1, 2022
dbe2642
Parameter Scanner
st-walker Mar 18, 2022
aaae868
fixing "unrelated" failing tests. + tidy
st-walker Apr 20, 2022
dd40647
more test fixing
st-walker Apr 20, 2022
5b9e504
added rectangular distribution in generate_parray()
sergey-tomin Apr 29, 2022
0f03193
Merge branch 'dev' into mlattice-marker-insertion-methods
sergey-tomin Apr 29, 2022
4bea2c0
Merge pull request #132 from st-walker/mlattice-marker-insertion-methods
sergey-tomin Apr 29, 2022
4ca0fd3
Merge branch 'dev' of https://github.com/ocelot-collab/ocelot into dev
sergey-tomin Apr 29, 2022
321b3cb
Demo for using the parameter scanner.
st-walker Apr 29, 2022
bfadf63
Update `ParticleBunch` import
AngelFP May 30, 2022
106fd7b
Merge pull request #141 from AngelFP/update_waket_adaptor
sergey-tomin May 30, 2022
416b830
ParameterScanner refactor, tests & Jupyter example
st-walker May 18, 2022
2e5daec
added my name to the jupyter lab notebook
st-walker Jun 7, 2022
2ed29b4
Merge pull request #140 from st-walker/parameter-scanner
sergey-tomin Jun 8, 2022
21e3180
fixed some bugs with plot_elems()
sergey-tomin Jun 27, 2022
73274ca
Merge branch 'dev' of https://github.com/ocelot-collab/ocelot into dev
sergey-tomin Jun 27, 2022
26a2a56
Merge branch 'tfs-fix' into dev
st-walker Jun 30, 2022
a33e817
Merge pull request #146 from st-walker/tfs-fix
st-walker Jun 30, 2022
c7ec550
added slotted foil physics process
sergey-tomin Jul 4, 2022
ab35f1d
Merge branch 'dev' of https://github.com/ocelot-collab/ocelot into dev
sergey-tomin Jul 4, 2022
32a1c5b
added ipython notebook about slotted foil
sergey-tomin Jul 4, 2022
fc4938a
Transfer map is now method of the MagneticLattice
sergey-tomin Jul 5, 2022
4f81b65
limit size of ASCII floating numbers in genesis beam input file
Sep 14, 2022
fb70c31
fixed a bug and minor changes
sergey-tomin Sep 16, 2022
d07bf0d
minor
sergey-tomin Sep 16, 2022
5e4770f
added in the ParticleArray function get_twiss_from_slice() - not yet …
sergey-tomin Oct 3, 2022
44677d2
ParticleArray function get_twiss_from_slice() - cover with test
sergey-tomin Oct 3, 2022
a7aaa15
added a new Physics Process to shift energy of the particles accordin…
sergey-tomin Oct 3, 2022
81782a9
added a simple test to ipython notebook.
sergey-tomin Oct 7, 2022
0ff337a
Merge pull request #149 from pdijksta/limit_ascii_size
sserkez Oct 26, 2022
d564b0f
refactored serval-related function names
sserkez Oct 26, 2022
a9edf7e
Added some description about monopole, dipole and quadrupole componen…
sergey-tomin Nov 9, 2022
f54fe15
Merge branch 'master' into dev
sergey-tomin Nov 9, 2022
ddc6a49
dev is merged with master
sergey-tomin Nov 9, 2022
0b0f64d
updated elegant_lattice_converter.py
sergey-tomin Nov 15, 2022
005499f
in add_chirp_polys0 from um to m
sserkez Dec 4, 2022
4b21a75
added partskip and estimate_npart to read_dpa4, bugfix in dpa42edist,…
sserkez Dec 4, 2022
8e6ec81
Merge branch 'dev_gen' of https://github.com/ocelot-collab/ocelot int…
sserkez Dec 4, 2022
2cc7802
prepared for merging with master
sergey-tomin Dec 21, 2022
5b7ac66
bugfix KS with wrong shape
Jan 24, 2023
6ef6bf9
fel estimator references, mprefix function
sserkez Jan 26, 2023
e8c67c0
Merge branch 'master' into dev_gen
sserkez Jan 27, 2023
688a84d
Merge pull request #152 from pdijksta/bugfix/csr_KS_len
sergey-tomin Jan 31, 2023
1d46443
added unittest ref file for bump test
sergey-tomin Jan 31, 2023
96d1921
small improvement of the merger function and added option to save twi…
sergey-tomin Jan 31, 2023
5beb6d6
fixed bug with power supply names when save lattice
sergey-tomin Jan 31, 2023
9f00749
added small docs to this converter
sergey-tomin Jan 31, 2023
f9562c1
dfl_ap_rect: fix issue with asymmetric apertures
ZeugAusHH Feb 1, 2023
ea53fa9
Merge branch 'master' of https://github.com/ocelot-collab/ocelot
sergey-tomin Feb 2, 2023
313bc57
small correction
sergey-tomin Feb 2, 2023
8e2ecc9
Merge remote-tracking branch 'origin/master' into dev_gen
sserkez Feb 2, 2023
29d3a6e
plot_dfl plot_sp_dens
sserkez Feb 3, 2023
bdf70c1
Merge branch 'dev_gen' of https://github.com/ocelot-collab/ocelot int…
sserkez Feb 3, 2023
c717921
anaconda python3.9 compatibility changes
sserkez Feb 3, 2023
7a1b415
bugfix: plot_dfl for single slice
sserkez Feb 3, 2023
ccb223b
wigner refactor (unfinished, unstable)
sserkez Feb 6, 2023
bd9f23a
dfl fft_z phase fix
sserkez Feb 6, 2023
6d00b31
mprefix updated
sserkez Feb 7, 2023
daf42e3
work on wigner functionality and plotting
sserkez Feb 7, 2023
18bc1a7
fixed dfl plotting if Nx or Ny <3
sserkez Feb 7, 2023
92eb92f
minor
sserkez Feb 7, 2023
b09419e
serval colormap
sserkez Feb 7, 2023
e6185af
Merge pull request #155 from ocelot-collab/dev_gen
sergey-tomin Feb 7, 2023
f20882d
added runge kuta map to band and drift element. Not tested yet
sergey-tomin Feb 7, 2023
22eaaf6
Merge branch 'master' into dev
sergey-tomin Feb 8, 2023
1f54eef
wigner domains and plot_wigner fixes
sserkez Feb 10, 2023
5022482
fwhm(x, F, interpolated=1) fix
sserkez Feb 10, 2023
9d91eab
ipynb demos of radiation field updated
sserkez Feb 10, 2023
a63355d
calc_wigner refactored to field2wigner
sserkez Feb 10, 2023
5725e02
mprefix negatives bugfix
sserkez Feb 13, 2023
be474d4
added option to twiss() to attach twiss object to an element. Bad pra…
sergey-tomin Feb 14, 2023
45de93a
added start stop arguments to MagneticLattice.transfermaps() useful i…
sergey-tomin Feb 14, 2023
2b9046e
added ParticleArray.I() to calculate current.
sergey-tomin Feb 14, 2023
e420be9
fwhm3 improvements
sserkez Feb 15, 2023
b2b9797
added wakefield functions for single plate corrugated structure
sergey-tomin Feb 15, 2023
94b377f
added unittests
sergey-tomin Feb 15, 2023
5e2b30d
added unit test for parray.I()
sergey-tomin Feb 15, 2023
0a654a0
genesis4 bugfixes
sserkez Feb 16, 2023
0685b96
genesis4 demo
sserkez Feb 16, 2023
dc4bedd
Merge branch 'dev_gen' of https://github.com/ocelot-collab/ocelot int…
sserkez Feb 16, 2023
e273f28
Merge remote-tracking branch 'origin/dev_gen' into dev_gen
sserkez Feb 16, 2023
af5db45
minor bug fixed with survey
sergey-tomin Feb 17, 2023
e1c7790
Merge remote-tracking branch 'origin/dev' into dev_gen
sserkez Feb 20, 2023
8787b37
added typing hint
sergey-tomin Feb 21, 2023
ae84c4d
moved Navigator to navi.py
sergey-tomin Feb 21, 2023
c885889
added BIMAG for slice parameters
sergey-tomin Feb 27, 2023
45a90b2
removed unneeded argument in navi.get_map
sergey-tomin Feb 27, 2023
460a975
introduced fld_stat into RadiationField
sserkez Mar 7, 2023
4bcfb72
Update adaptor to new Wake-T particle bunches
AngelFP Mar 10, 2023
a86f1c1
Fix docstrings
AngelFP Mar 10, 2023
5931af4
Add type hints
AngelFP Mar 10, 2023
1e6cb91
Merge pull request #157 from AngelFP/update_waket_adaptor
sergey-tomin Mar 10, 2023
8acb460
comments with additional infos
ZeugAusHH Mar 14, 2023
f8cec61
Merge pull request #158 from ZeugAusHH/cl_20230314__smallstuff
sserkez Mar 15, 2023
9e6645d
genesis4 eloss to beam.h5
sserkez Mar 15, 2023
de97f81
dfl.phen() field added
sserkez Mar 15, 2023
9e39f5f
Merge remote-tracking branch 'origin/dev_gen' into dev_gen
sserkez Mar 15, 2023
f4f9163
added interpolation functions
sserkez Mar 21, 2023
0b6045f
end_poles moved to Undulator
trebushi Apr 6, 2023
1125371
added comments to Undulator
trebushi Apr 6, 2023
1c9b0b4
Merge pull request #160 from andre-trebushi/dev_gen
sergey-tomin Apr 6, 2023
5ffb577
Merge pull request #161 from ocelot-collab/dev
sserkez Apr 6, 2023
67f5b2f
first try with normalization of screen
trebushi Apr 9, 2023
bc20553
optimization performance of some functions
sergey-tomin Apr 13, 2023
417319c
Merge branch 'dev' of https://github.com/ocelot-collab/ocelot into dev
sergey-tomin Apr 13, 2023
aaa7194
fel bandwidth, ptap(unfinished), wigner stat projections
sserkez May 5, 2023
28098c1
Merge remote-tracking branch 'origin/dev_gen' into dev_gen
sserkez May 5, 2023
1a89db0
find_indices_by_predicate method on MagneticLattice + tests
st-walker Jun 3, 2023
b876739
find_indices_by_predicate method on MagneticLattice + tests
st-walker Jun 3, 2023
86f51de
Merge branch 'dev' of https://github.com/st-walker/ocelot into dev
st-walker Jun 3, 2023
6f79f5f
fix missing import
st-walker Jun 3, 2023
0b6645f
Merge pull request #162 from st-walker/dev
sergey-tomin Jun 3, 2023
7b42edc
unit_step kwarg
st-walker Jun 5, 2023
8d988b5
match.py output
st-walker Jun 1, 2023
62cf5d2
Merge pull request #163 from st-walker/dev
sergey-tomin Jun 19, 2023
a7d4f4b
minor changes in longlist converter
sergey-tomin Jun 21, 2023
e48e2a2
minor refactoring of the loss_factor function
sergey-tomin Jun 21, 2023
9def0c8
misprint fixed
sergey-tomin Jun 21, 2023
7c63ca7
Merge branch 'dev' of https://github.com/ocelot-collab/ocelot into dev
sergey-tomin Jun 21, 2023
24f73a9
fixed numba warnings
sergey-tomin Jun 29, 2023
4462c9b
temporal changes in csr + minor changes in longlist2ocelot.py
sergey-tomin Jun 30, 2023
17f042b
minor changes in longlist2ocelot.py
sergey-tomin Jun 30, 2023
d4b4039
added rf dumping for periodic solution
sergey-tomin Jul 26, 2023
b2440ab
minor fel.py z_sat_min fix
sserkez Aug 3, 2023
0f7291a
first set of changes to GENESIS4 adaptor
ZeugAusHH Aug 3, 2023
79df259
Merge pull request #176 from ZeugAusHH/dev_gen_v4merge
sserkez Aug 3, 2023
4dfc0dc
genesis4 minor
sserkez Aug 3, 2023
d8983c5
Merge remote-tracking branch 'origin/dev_gen_v4merge' into dev_gen_v4…
sserkez Aug 3, 2023
8dcd032
Global/s in gen4 to fix nSlices
sserkez Aug 3, 2023
9827283
fix wake paths in sections tests
st-walker Aug 8, 2023
b3e5bdd
skip tests and class defn when h5py is not installed
st-walker Aug 8, 2023
83f6b25
fix bug in sbend testing
st-walker Aug 8, 2023
ea2dfab
Merge pull request #180 from st-walker/skip-h5py-bits-if-not-installed
st-walker Aug 8, 2023
915b65a
Merge pull request #179 from st-walker/wake-path-test-fixes
st-walker Aug 8, 2023
5265fcb
Merge pull request #181 from st-walker/fix-sbend-tfs-adapator-test
st-walker Aug 8, 2023
5f0007d
better initialisation of Twiss instances
st-walker Jul 24, 2023
886e5a3
classmethod for Twiss from pandas series
st-walker Aug 9, 2023
3354555
suffixes for insert marker by predicate
st-walker Jul 7, 2023
b53406d
ParticleArray slicing
st-walker Jun 14, 2023
c470190
convenience properties for quadrupole
st-walker Aug 9, 2023
6432cce
remove_coupler_kick method for Cavity class
st-walker Aug 9, 2023
79174cf
Update CHANGELOG.md
st-walker Aug 9, 2023
0089cc8
added __repr__ to common physics processes
st-walker Jul 11, 2023
aa7f48c
speedup physics proc and add method for adding lots of physprocs
st-walker Aug 9, 2023
7365767
jump_to method for the navigator with tests
st-walker Jul 24, 2023
48f662e
G4 adaptor: bugfix in populate_sequence_beam_array for steady-state sims
ZeugAusHH Aug 16, 2023
bc92b48
G4 adaptor, function populate_sequence_beam: added FIXME marker
ZeugAusHH Aug 16, 2023
ff6b19a
G4 adaptor: make function populate_sequence_beam work with steady-sta…
ZeugAusHH Aug 16, 2023
0acb644
plot_dfl: add code to show phase colorbar (controlled via kwargs)
ZeugAusHH Aug 18, 2023
778f02f
minor correction of previous commit
ZeugAusHH Aug 18, 2023
cce9adc
fixed error with beta in Undulator element. Updated unit_tests refere…
sergey-tomin Aug 22, 2023
8280311
Merge branch 'dev' of https://github.com/ocelot-collab/ocelot into dev
sergey-tomin Aug 22, 2023
587fdee
Merge branch 'dev' into better-twiss-init-and-slice-params-extract-twiss
sergey-tomin Aug 22, 2023
965ec60
Merge pull request #183 from st-walker/better-twiss-init-and-slice-pa…
sergey-tomin Aug 22, 2023
7ea1ab9
Merge pull request #185 from st-walker/proc-reprs
sergey-tomin Aug 22, 2023
41307b2
Merge branch 'dev' into navi-jump-to-method
sergey-tomin Aug 22, 2023
7102768
Merge pull request #187 from st-walker/navi-jump-to-method
sergey-tomin Aug 22, 2023
0794d76
cavity.remove_coupler kick test
st-walker Sep 6, 2023
50fdc74
quadurpole k1l and k2l setter and getter test
st-walker Sep 6, 2023
4723026
parray slicing test
st-walker Sep 6, 2023
ba9a3a6
insert marker by predicate test
st-walker Sep 6, 2023
59c09b9
test for Twiss.from_series
st-walker Sep 6, 2023
fc93eb0
Merge branch 'dev' into dev
st-walker Sep 6, 2023
29a1d69
navigator add_physics_processes test added
st-walker Sep 6, 2023
5951f65
undulator with different roll off parameters and unittests
sergey-tomin Sep 12, 2023
198ac41
on-axis undulator field calculation
sserkez Sep 20, 2023
2a433f1
Merge pull request #189 from ZeugAusHH/cl_20230818__dfl_plot_opts
sserkez Sep 20, 2023
ce41024
Merge pull request #153 from ZeugAusHH/cl_20230201__fix_ap_rect
sserkez Sep 20, 2023
c6cf5bd
Merge remote-tracking branch 'origin/devgen_v4merge1' into devgen_v4m…
sserkez Sep 20, 2023
de1c853
G4 adaptor: change two warning to info
ZeugAusHH Sep 20, 2023
5f8fa34
Merge pull request #188 from ZeugAusHH/cl_20230816__g4adaptor
sserkez Sep 21, 2023
41ee162
update with ocelot dev_gen (#11)
trebushi Sep 25, 2023
f517d19
add norm to screen2dfl
trebushi Apr 9, 2023
58c80f9
fix to serval function and mut_coh_func_c
trebushi Sep 25, 2023
8eebabc
handle polynomial chirps, added Iz in genesis4 (time-dependent curren…
sserkez Sep 28, 2023
2c07f9b
Merge branch 'devgen_v4merge1' of https://github.com/ocelot-collab/oc…
sserkez Sep 28, 2023
53fca29
update (#12)
trebushi Sep 28, 2023
0f0ffcc
Revert "update (#12)" (#13)
trebushi Sep 28, 2023
bf5a906
Merge branch 'devgen_v4merge1' into dev_gen
sserkez Sep 28, 2023
1596964
Revert "update with ocelot dev_gen (#11)"
trebushi Sep 28, 2023
f2ab5d3
Merge pull request #15 from ocelot-collab/dev_gen
trebushi Sep 28, 2023
b3befd4
Merge remote-tracking branch 'andre-trebushi/dev_gen' into dev_gen
trebushi Sep 28, 2023
a63867e
Merge pull request #194 from andre-trebushi/dev_gen
sserkez Sep 28, 2023
7c19a82
Merge remote-tracking branch 'origin/dev_gen' into dev_gen
sserkez Sep 28, 2023
8151f96
minor refactoring in wave.py SR simulation
sserkez Sep 28, 2023
25e1111
Merge pull request #16 from ocelot-collab/dev_gen
trebushi Sep 28, 2023
3bd6a5f
introduce dfl_prop_iris
trebushi Sep 28, 2023
663dff9
added iris line demo 8-1
trebushi Sep 28, 2023
628a089
added demos
trebushi Sep 28, 2023
48b50c4
add comments to 8 demo
trebushi Sep 29, 2023
c3a2f2d
add headers to comments
trebushi Sep 29, 2023
a1cf4c8
fix
trebushi Sep 29, 2023
468ebd7
Merge pull request #195 from andre-trebushi/dev_gen
sserkez Sep 29, 2023
c036560
fixes pull request #195
trebushi Sep 29, 2023
b4ca934
Merge pull request #196 from andre-trebushi/dev_gen
sserkez Sep 29, 2023
79d7d92
added explanations how to set different Transfer maps for different e…
sergey-tomin Oct 16, 2023
0de725b
Merge pull request #186 from st-walker/faster-add-physics-proc
sergey-tomin Oct 17, 2023
e134435
fixed last pull request and found and fixed wrong unittest.
sergey-tomin Oct 17, 2023
801a3e1
Merge branch 'dev' into dev
sergey-tomin Oct 17, 2023
cf65b8a
Merge pull request #184 from st-walker/dev
sergey-tomin Oct 17, 2023
982a67c
modified the 'MagneticLattice.transfer_maps()' method. When using the…
sergey-tomin Oct 17, 2023
f142630
genesis2 lattice corrector support
sserkez Nov 3, 2023
16425bd
Merge branch 'dev_gen' of https://github.com/ocelot-collab/ocelot int…
sserkez Nov 3, 2023
522f45d
Add adaptor for openPMD data
delaossa Nov 14, 2023
3951bc9
Correct instructions. Set species_name to species.
delaossa Nov 21, 2023
8c48c9f
Add unit_test for openpmd adaptor
delaossa Nov 23, 2023
7bdf56e
Minor change to default species name
delaossa Nov 23, 2023
9515b80
Merge pull request #203 from delaossa/openpmd_adaptor
sergey-tomin Nov 23, 2023
c7a7304
first demo version of current cutoff in ebeam energy/bunching panel
ZeugAusHH Dec 20, 2023
296901b
cut-off current can now be defined via caller-provided instance of Ge…
ZeugAusHH Dec 20, 2023
cf99a85
improving g4 plotting code (panel with evolution of energy/energy spr…
ZeugAusHH Dec 29, 2023
3a74f97
removed old code
ZeugAusHH Dec 29, 2023
f63aeb0
subfig_evo_el_energy: disabled dbg plots
ZeugAusHH Dec 29, 2023
8ac4cb3
function to obtain ID of most recent git commit
ZeugAusHH Jan 6, 2024
b7eaede
bugfix in dbg code
ZeugAusHH Jan 7, 2024
f9f2cee
G4 adaptor: fix handling of unknown lattice elements
ZeugAusHH Jan 31, 2024
01d3c46
fixed bug with drift in matching function
sergey-tomin Feb 16, 2024
a1c06d4
add clarifying comment
ZeugAusHH Feb 19, 2024
ac2dc98
undulator lattices: add possibility to override default number of cells
ZeugAusHH Feb 21, 2024
3cfb017
bugfixing create_fel_lattice
ZeugAusHH Feb 21, 2024
3e9689c
wake expansion to 3rd order, a few dechirper wake model, unit test
ReidarQin Feb 21, 2024
b87c847
Revert "wake expansion to 3rd order, a few dechirper wake model, unit…
ReidarQin Feb 21, 2024
aa51f78
sync with dev wake3d instead of master
ReidarQin Feb 21, 2024
99dbbaf
fixed bug in case lattice length changing after matching procedure
sergey-tomin Feb 22, 2024
25bda05
modify class description, add tutorial, modify CHANGELOG.md
ReidarQin Feb 23, 2024
cd7186f
Merge pull request #213 from ReidarQin/dev
sergey-tomin Feb 26, 2024
081bbb8
add label to plots
ReidarQin Feb 26, 2024
b355e16
Merge branch 'dev' of github.com:ReidarQin/ocelot into dev
ReidarQin Feb 26, 2024
163e065
Merge pull request #215 from ReidarQin/dev
sergey-tomin Feb 26, 2024
9b6e91d
Merge pull request #205 from ZeugAusHH/cl_20231220__g4plotdev
sserkez Feb 29, 2024
09313cc
Merge pull request #208 from ZeugAusHH/cl_20240105__commitid
sserkez Feb 29, 2024
4f9887e
Merge pull request #214 from ZeugAusHH/cl_20240121__beamlineNadj
sserkez Feb 29, 2024
1bf0482
Merge pull request #211 from ZeugAusHH/cl_20240131__g4unknownelements
sserkez Feb 29, 2024
81315df
Merge pull request #207 from ZeugAusHH/cl_20231229__g4plotdev
sserkez Mar 1, 2024
448c6b8
added warning in the Navigator if the lattice contains only one eleme…
sergey-tomin Mar 6, 2024
ddacec2
Merge branch 'dev' of https://github.com/ocelot-collab/ocelot into dev
sergey-tomin Mar 6, 2024
8b4aae1
Merge branch 'dev'
sergey-tomin Mar 6, 2024
4bad747
Unit tests did not work if wake-t does not install. Fiexed
sergey-tomin Mar 7, 2024
47a1506
removed end_poles argument
sergey-tomin Mar 7, 2024
00894a9
checked all tutorials
sergey-tomin Mar 7, 2024
84f6ddb
minor changes in FEL part. 1. numpy does not have int function anymor…
sergey-tomin Mar 7, 2024
6fdd98a
Merge branch 'master' into dev_gen
sergey-tomin Mar 8, 2024
6631584
update AUTHORS
ZeugAusHH Mar 13, 2024
18f64f2
Merge pull request #218 from ZeugAusHH/cl_20240313__authors
sserkez Mar 20, 2024
0f17dd3
fix GenesisElectronDist.twiss() miscalculation
mulingLHY May 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,25 @@
*.swp
.project
.pydevproject
.vscode/
*.log
**.ipynb_checkpoints/
.venv
build/
dist/
ocelot.egg-info/
.DS_Store
arcline_traj.png
arcline_traj_0.png
dev_tests/5_CSR.py
dev_tests/__init__.py
docs/_build/
docs/_sources
# ignore tmp files that are created when execuding pytests
tmp_*
test.ast
test.fmt1
test.npz
unit_tests/ebeam_test/linac_orb_correct/ref_results/test.p
unit_tests/ebeam_test/section_track/data/
filed_map.txt
36 changes: 24 additions & 12 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,23 +1,35 @@
Ilya Agapov ilya.agapov@desy.de
architecture, releases
optimizer, x-ray optics
Sergey Tomin sergey.tomin@desy.de
architecture, releases,
cpbd modules, optics functions, CSR,
tracking module, orbit correction module,
optimizer, SR module, LH, tutorials

Sergey Tomin sergey.tomin@xfel.eu
cpbd modules, optics functions, CSR
tracking module, orbit correction module
optimizer, SR module
releases
Ilya Agapov ilya.agapov@desy.de
architecture, optimizer, x-ray optics,
genesis2 adaptor

Igor Zagorodnov
cpbd module, space charge, wakefields

Martin Dohlus
space charge, CSR, wakefields
space charge, CSR, wakefields, LH

Gianluca Geloni
genesis adaptor
genesis2 adaptor

Svitozar Serkez svitozar.serkez@xfel.eu
genesis2 & genesis4 adaptors,
coherent radiation class,
SASE estimator & imitator,
Stokes parameters class.

Svitozar Serkez
genesis adaptor
Mykola Veremchuk, Andrei Trebushinin
Stokes parameters calculation & visualization,
coherent radiation class, unit tests, examples

Michael Boese michael.boese@desy.de
architecture, cpbd

Christoph Lechner
adaptors for "GENESIS 1.3", v4 and v2; functions for plotting of simulation results;
control of MPI simulation jobs
71 changes: 71 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Changelog

All notable changes to OCELOT will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
~and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).~ (Not yet, maybe it won't. Versioning is based on year.month.day.

## [Unreleased]

### Changed

- The `CSR` class now gives an explicit `logging` `error` when failing in `arcline` and
a more useful explanation. This error often occurs because the user has mixed CSR for
vertical bends with horizontal bends.
- `Navigator.add_physics_process` should now be a lot faster by doing fewer unnecessary deepcopies.

### Added

- New properties on `ParticleArrray`, `beta` and `gamma`, providing the relativistic
properties of each particle.
- New method `sort` on `ParticleArray` for possibly sorting in place with respect to one
of the properties or functions (e.g. `beta`, `x`, `p0c`, etc.) returning the indices
that sort the `ParticleArray`.
- Implementation of `__len__` for `ParticleArray` which simply returns the number of
particles it contains. Identical in function to `size`.
- `get_envelope` now also calculates the normalised emittances `emit_xn` and `emit_yn`,
not just the geometric ones, as was previously the case.
- Added `overwrite_progress` kwarg to `cpbd.track.track` function which allows
tracking progress to optionally be written on new lines rather than
overwritten repeatedly using carriage returns. This is particularly useful
when logging the output of a running ocelot simulation to avoid extremely long
lines and unreadable log files.
- Inactive processes in `Navigator` instances are now stored in the
`inactive_proccses` attribute. This way processes attached to a `Navigator`
remain accessible in that for the lifetime of the Navigator.
- New `ParameterScanner` class in `cpbd.track` for scanning arbitrary parameters
in parallel (either using multiprocessing mpi4py). For example one might scan
different compression schemes. Results are compiled into a single hdf5 file.
- insert_markers_by_predicate now has optional arbitrary name suffixes for the markers
- Twiss.from_series allows for Twiss instances to be made from pd.Series (or a dictionary for example).
- ParticleArray slicing: `parray[10:100]` returns a ParticleArray instance with slices rparticles and q_array.
- `remove_coupler_kick` convenience method for Cavity class
- Integrated quad strengths for `k1` and `k2` convenience getters/setters (`k1l` and `k2l).
- Added new method `Navigator.add_physics_processes` for adding multiple physics processes at the same time. This will be a lot fastwe when lots of physics processes are to be added.
- `Navigator.jump_to` method allowing a `Navigator` instance to jump
to arbitrary points in z along the magnetic lattice. Useful as it
does not require modifying the underling beamling to achieve
equivalent behaviour.
- new `__repr__` methods for some common physics processes: `CSR`, `SmoothBeam`, `SpaceCharge` and `WakeTable`.
- modified the 'MagneticLattice.transfer_maps()' method. When using the 'output_at_each_step=True' flag,
the method returns (Bs, Rs, Ts, S), where 'S' is a list of coordinates after each transfer map.
- New `WakeTable3` and `Wake3` class for third order Taylor expansion of wakefield tracking.
- New wake table for the wakefields of parallel plate structure based on analytical results, `WakeTableParallelPlate_origin`, `WakeTableParallelPlate`,
`WakeTableParallelPlate3_origin`, `WakeTableParallelPlate3`. The waketables with `origin` use point charge wake at the vicinity of the drive particle, which is the upper limit for wake.
The other two waketables contain exponential decay term. The waketables with `3` provide third order Taylor expansion and should be used with `Wake3`.



### Fixed

- fixed bugs in matching function if Drift length is in list of variables.

### Removed

- None yet.

### Deprecated

- None yet.

[unreleased]: https://github.com/ocelot-collab/ocelot/compare/dev_2021..HEAD
17 changes: 17 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
autopep8 = "*"

[packages]
ocelot = {path = "."}
numba = "==0.50.0"
numexpr = "==2.6.1"
pyfftw = "==0.12.0"
pytest = "*"

[requires]
python_version = "3.8"
Loading