Search found 16 matches

by jcalvey
01 Nov 2022, 12:37
Forum: Ring Tracking
Topic: bigaussian method in ion-effects
Replies: 4
Views: 118

Re: bigaussian method in ion-effects

Hi Siwei, Interesting results! The "gaussian" option doesn't actually do a fit, it just uses the total charge and sigma within a certain range of the beam centroid. You can increase this range by increasing the gaussian_ion_range parameter. You could also try the "gaussianfit" option, which tries to...
by jcalvey
20 Oct 2022, 16:23
Forum: Ring Tracking
Topic: bigaussian method in ion-effects
Replies: 4
Views: 118

Re: bigaussian method in ion-effects

Hi Siwei, There are several parameters that affect the speed of the bigaussian method; the most important are ion_histogram_max_bins and ion_bin_divisor (see https://ops.aps.anl.gov/manuals/elegant_latest/elegantsu45.html#x53-520007.34). Unfortunately, for any reasonable choice of parameters, it wil...
by jcalvey
15 Mar 2022, 14:35
Forum: Ring Tracking
Topic: Beam ion interaction using IONEFFECTS element
Replies: 16
Views: 5671

Re: Beam ion interaction using IONEFFECTS element

All,

I've updated the ionEffects example that comes with elegant; see attached. It's actually 3 examples: with ILMATRIX tracking, element-by-element tracking, and using an arbitrary bunch pattern as input. I think it should cover most of the questions people have asked here. Hope it helps!

-Joe
by jcalvey
23 Dec 2021, 11:48
Forum: Ring Tracking
Topic: Beam ion interaction using IONEFFECTS element
Replies: 16
Views: 5671

Re: Beam ion interaction using IONEFFECTS element

Teresia and Tiansk,

Try downloading the script and following the instructions from my post on December 3rd. It works a bit differently than the one you have.

Teresia, I suspect you are correct that it is related to the particleID.

-Joe
by jcalvey
17 Dec 2021, 14:34
Forum: Ring Tracking
Topic: Beam ion interaction using IONEFFECTS element
Replies: 16
Views: 5671

Re: Beam ion interaction using IONEFFECTS element

Tiansk,

Looking through your files, it's not clear to me why train1 and train2 gave different results. If you compare the rms amplitude (ampyRms), does that also look different?

-Joe
by jcalvey
09 Dec 2021, 15:17
Forum: Ring Tracking
Topic: Beam ion interaction using IONEFFECTS element
Replies: 16
Views: 5671

Re: Beam ion interaction using IONEFFECTS element

Can you please suggest me how to plot the ion density since begining. Use these commands to plot the total charge in the ring, bunch-by-bunch: sddsprocess ion1.ionDens -pipe=out -define=col,cPass,Pass, -define=col,cs,s | sddscombine -pipe -merge -overWrite | sddsbreak -pipe -changeOf=cPass | sddsso...
by jcalvey
09 Dec 2021, 13:53
Forum: Ring Tracking
Topic: Beam ion interaction using IONEFFECTS element
Replies: 16
Views: 5671

Re: Beam ion interaction using IONEFFECTS element

tiansk wrote:When I use multi-bunch train beam fillings, the column Sy & Sx in the ebeam file are 1 for NULL bucket, so :
I'm not sure why you are getting any NULL/zero values here. Can you post the exact command you are using for makeBunchTrainWF, and your fill file?
by jcalvey
06 Dec 2021, 13:14
Forum: Ring Tracking
Topic: Beam ion interaction using IONEFFECTS element
Replies: 16
Views: 5671

Re: Beam ion interaction using IONEFFECTS element

Saroj and Tiansk, These are all good questions. Please be patient, I'm working through them in the order received Find the elegant files with which the result was obtained, which may give some clue for the output or where I am doing mistake. In your example file, is atrain.sdds the full bunch train?...
by jcalvey
05 Dec 2021, 13:06
Forum: Ring Tracking
Topic: Beam ion interaction using IONEFFECTS element
Replies: 16
Views: 5671

Re: Beam ion interaction using IONEFFECTS element

Tiansk, Why is the first and last different from the others? How is ion generation handled in the program? For uniformly filled beam mode,I guess the qIons_delta should be the same,but in the ion1.ionDens file,the qIons_delta not quite the same. There are two reasons for this. First, in the example ...
by jcalvey
03 Dec 2021, 17:14
Forum: Ring Tracking
Topic: Beam ion interaction using IONEFFECTS element
Replies: 16
Views: 5671

Re: Beam ion interaction using IONEFFECTS element

Saroj, In plotting the ion density with the scripts, it does not plot the ion density since beginning. Please find the figure in the attachment. The script plots the ion density at the end of each turn. So for your case, it looks like the density is near its maximum after a single turn. I am using t...