Search found 79 matches

by Philippe Piot
25 Aug 2021, 22:18
Forum: Ring Tracking
Topic: pass number as an argument for SCRIPT
Replies: 3
Views: 1561

Re: varying a parameter on a turn-by-turn basis

All,
Is there a way to vary a parameter on a turn-by-turn basis in a ring? (e.g. changing the strength of a quadruple as a function of pass number). I thought vary_element could do that but it seems not to be the case. Thank you, -- Philippe.
by Philippe Piot
08 Nov 2020, 19:09
Forum: Linac Tracking
Topic: analyzing WATCH data on the fly during fitting
Replies: 2
Views: 6319

Re: analyzing WATCH data on the fly during fitting

All,
I actually retract my question! It turns out I was doing something wrong and runing the sdds_beams between fitting iteration and loading the output of the ttracking for next fitting iteration does work. My apologies. -- Philippe.
by Philippe Piot
06 Nov 2020, 08:13
Forum: Linac Tracking
Topic: analyzing WATCH data on the fly during fitting
Replies: 2
Views: 6319

analyzing WATCH data on the fly during fitting

All, Is there a way, when performing multiple fits sequence and saving lattice in between, to access the output particle distribution for the next fitting step. Namely, I have an incoming beam with strong coupling (so that the Courant-Snyder parameters are not meaninful). I use skew-quadrupole magne...
by Philippe Piot
29 Jul 2020, 11:24
Forum: Linac Tracking
Topic: n_bins in WAKE element
Replies: 2
Views: 6518

Re: n_bins in WAKE element

All, To further comment on Wei Hou's post, is there a way to dump the binned current distribution being used by ELEGANT in the wakefield calculation? Such a feature would be very helpful to have especially when the number of bins is automatically set by ELEGANT. This would also give an idea of how t...
by Philippe Piot
01 Jul 2020, 23:11
Forum: General
Topic: saving trajectory associated with macroparticle(s)
Replies: 2
Views: 4510

Re: saving trajectory associated with macroparticle(s)

Michael,
Thank you very much for the suggestion. All the best, -- Philippe.
by Philippe Piot
16 Jun 2020, 05:45
Forum: General
Topic: saving trajectory associated with macroparticle(s)
Replies: 2
Views: 4510

saving trajectory associated with macroparticle(s)

Hello,
Is there a way in ELEGANT to save the trajectory of a few macroparticles associated with a bunch while tracking the entire bunch? Thank you, -- Philippe.
by Philippe Piot
24 Mar 2020, 08:48
Forum: Linac Tracking
Topic: changing RCOL parameter with alter_elements command
Replies: 1
Views: 4356

changing RCOL parameter with alter_elements command

Hi, I have a lattice file with a collimator defined as VS: rcol, XMAX=0.0001 in my .ele file I try to change XMAX via the alter command &alter_elements name = VS, item = "xmax" value = 0.001 &end and got the error message "Error: element VS does not have parameter xmax". I have vainly tried various ...
by Philippe Piot
16 May 2018, 04:39
Forum: Ring Tracking
Topic: rf_setup return <0 values for Ss & Sdelta
Replies: 3
Views: 3260

Re: rf_setup return <0 values for Ss & Sdelta

Michael,
Thank you. The signs are fixed but I am still just confused by the meaning of Sz0 and Sdelta0 are these the expected equilibrium bunch length and relative energy spread? Thank you, -- Philippe.
by Philippe Piot
18 Apr 2018, 16:07
Forum: Ring Tracking
Topic: rf_setup return <0 values for Ss & Sdelta
Replies: 3
Views: 3260

rf_setup return <0 values for Ss & Sdelta

Hello, I was wondering what is the meaning of Ss0 and Sdelta0 and how they are computed in rf_setup. For the example attached I am puzzled as the rf_setup returns negative values for these two variables. Also, I am surprised by the magnitude of Sdelta [O(10**-10)] assuming there is just an issue wit...
by Philippe Piot
16 Feb 2018, 07:33
Forum: Linac Tracking
Topic: stupakov option in CSRDRIFT
Replies: 1
Views: 3206

stupakov option in CSRDRIFT

Hello, In a CSRDRIFT located just downstream of the four )last) bend of a standard chicane, I noticed that the energy spread continuously increases with the stupackov=1 option (i.e. it does not seem to taper off). In fact, arbitrarily increasing the drift length results in a larger energy spread (if...