Search found 1930 matches

by michael_borland
02 Apr 2024, 10:26
Forum: General
Topic: Job opportunity at the Advanced Photon Source
Replies: 0
Views: 598

Job opportunity at the Advanced Photon Source

The Advanced Photon Source has an opening for an Assistant Physicist in the Accelerator Operations and Physics Group. The position involves hands-on work on accelerators, simulation, and machine learning.

If interested, please click here.

--Michael
by michael_borland
29 Mar 2024, 17:31
Forum: Linac Tracking
Topic: About R56 in Elegant and LiTrack
Replies: 1
Views: 337

Re: About R56 in Elegant and LiTrack

Zhenbiao, I've never used LiTrack, but I think the sign convention for R56 is the opposite of elegant's. Usually in elegant we define the bunch compressors explicitly using bending magnets. However, it is possible to use the EMATRIX element to simulate a matrix defined by the matrix elements. An exa...
by michael_borland
29 Mar 2024, 16:34
Forum: General
Topic: IBS and bunch lengthening due to impedance
Replies: 2
Views: 331

Re: IBS and bunch lengthening due to impedance

Mikhail,

Please see the attached example. It converges in four iterations.

--Michael
by michael_borland
29 Mar 2024, 15:01
Forum: General
Topic: Using BMXYZ for tracking through a periodic quadrupole
Replies: 2
Views: 614

Re: Using BMXYZ for tracking through a periodic quadrupole

Samira, The problem seems to be that your field file does not define a quadrupole magnet. To check this, I computed dBy/dx at y=0 and dBx/dy at x=0 as a function of z. sddssort fieldmap300.sdds -pipe=out -col=z -col=x -col=y | sddsbreak -pipe -change=z | sddsprocess -pipe -filter=col,y,-1e-6,1e-6 -p...
by michael_borland
29 Mar 2024, 14:50
Forum: Momentum Aperture
Topic: Momentum aperture fiducialize and soft_failure
Replies: 1
Views: 357

Re: Momentum aperture fiducialize and soft_failure

Minghao, Setting fiducialize=1 is recommended if you are performing one-pass momentum aperture in a system with large energy losses or gain. An example is a linac. For storage rings, it should be zero. soft_failure is used to control what happens when the momentum acceptance is not found one or more...
by michael_borland
29 Mar 2024, 14:41
Forum: Feature Requests
Topic: Modifications to find_aperture
Replies: 2
Views: 439

Re: Modifications to find_aperture

Mikhail,

The ability to perform (delta, x) and (delta, y) aperture finding will appear in the next release.

Thanks for the suggestion.

--Michael
by michael_borland
07 Mar 2024, 17:00
Forum: Feature Requests
Topic: Modifications to find_aperture
Replies: 2
Views: 439

Re: Modifications to find_aperture

Mikhail, I think the only way you can get what I understand you are looking for is to use something other than line-search mode. By definition, line-search mode searches along lines starting from the origin. The radial spacing along the lines is xmax/nx. You can always reduce nx if you want finer st...
by michael_borland
19 Feb 2024, 10:32
Forum: Linac Tracking
Topic: issue tracking with PELEGANT
Replies: 6
Views: 428

Re: issue tracking with PELEGANT

Philippe,

The reason that happens in Pelegant is that the master processor is "non-working." It handles coordination among the slave processors, but (usually), doesn't do anything related to particle generation or tracking.

I'll add a check to the code for this problem.

--Michael
by michael_borland
15 Feb 2024, 18:03
Forum: Linac Tracking
Topic: issue tracking with PELEGANT
Replies: 6
Views: 428

Re: issue tracking with PELEGANT

Philippe, This command ~borland/improv/beta/Pelegant_2023.4 tracktest.ele > pElegantMichael.output looks wrong. Are you using mpiexec to invoke Pelegant? E.g., to run with 8 cores you'd use mpiexec -np 8 Pelegant ... It shouldn't be possible to run it any other way, but it is behaving as if it is us...
by michael_borland
15 Feb 2024, 17:38
Forum: Bugs
Topic: A bug in &save_lattice?
Replies: 2
Views: 335

Re: A bug in &save_lattice?

The problem is a typo in the definition of the quadrupoles. You have a spurious quotation mark at the end of the lines containing FSE values. This confuses the parser and it ignores the rest of the element definition.

--Michael