Search found 1930 matches

by michael_borland
20 Jul 2011, 18:13
Forum: General
Topic: plotting and scanning question
Replies: 3
Views: 5806

Re: plotting and scanning question

Charles, Unfortunately, there's no way to control the ticks on the color bar. If you just want to know the minimum St, try % sddsprocess run.finc -pipe=out -process=St,min,%sMin | sddsprintout -pipe -parameter=StMin You could also try a log-scale plot % sddsprocess run.finc -define=col,LogSt,"St 1e-...
by michael_borland
20 Jul 2011, 08:33
Forum: General
Topic: Microbunch instability simulation
Replies: 11
Views: 15841

Re: Microbunch instability simulation

Simona,

Sorry about the crash.

The LSC_LOW_FREQUENCY_CUTOFF0 value should be less than the LSC_LOW_FREQUENCY_CUTOFF1.

Also, LSC_HIGH_FREQUENCY_CUTOFF0 and LSC_HIGH_FREQUENCY_CUTOFF1 are more important for controlling noise.

--Michael
by michael_borland
20 Jul 2011, 08:28
Forum: General
Topic: plotting and scanning question
Replies: 3
Views: 5806

Re: plotting and scanning question

Charles, The way you set up the vary_elements commands isn't right, because you gave the same index_number for both. Give Q1 index_number=0, and Q2 index_number=1, so they are varied on separate indices. Once that's done, try this: % sddscollapse run.fin run.finc % sddsplot -column=Q1.K1,Q2.K1 run.f...
by michael_borland
12 Jul 2011, 14:32
Forum: Ring Tracking
Topic: Plotting charge at each ring pass
Replies: 1
Views: 45149

Re: Plotting charge at each ring pass

Max,

You can do this by inserting a WATCH element in the beamline, as follows:

w1: watch,filename="%s.w1",mode="parameters"
ring: line=(w1, ...)

With this, you can plot the number of fraction of particles left using
% sddsplot -column=Pass,Transmission <whatever>.w1

--Michael
by michael_borland
30 Jun 2011, 08:36
Forum: Linac Tracking
Topic: RFCA/ RFCW
Replies: 7
Views: 70723

Re: RFCA/ RFCW

Olivia, There are two problems I see: 1. The VOLT parameter is set to the same value in both element definitions. However, they should have a ratio of the number of cells (156), since VOLT value is the total voltage, not the gradient. 2. When splitting linac cavities, it is advisable to tell elegant...
by michael_borland
29 Jun 2011, 08:32
Forum: Linac Tracking
Topic: RFCA/ RFCW
Replies: 7
Views: 70723

Re: RFCA/ RFCW

Olivia,

Sorry, I'll need the daresburyastrain.sdds, wakefieldlong.sdds, and wakefieldtran.sdds files as well.

--Michael
by michael_borland
29 Jun 2011, 08:02
Forum: Linac Tracking
Topic: RFCA/ RFCW
Replies: 7
Views: 70723

Re: RFCA/ RFCW

Olivia,

Can you also post a .ele file that illustrates how you are using this lattice?

--Michael
by michael_borland
10 Jun 2011, 15:46
Forum: General
Topic: Quad Model?
Replies: 2
Views: 4891

Re: Quad Model?

Joel, The QUAD element is a standard thick-lens matrix treatment. See, for example, SLAC-75 Equation 55. You can include linear fringe effects with the FFRINGE parameter, which is described a little bit in the manual at http://www.aps.anl.gov/Accelerator_Systems_Division/Accelerator_Operations_Physi...
by michael_borland
01 Jun 2011, 19:25
Forum: General
Topic: Number of Output Pages
Replies: 4
Views: 6791

Re: Number of Output Pages

Joel,

Another tip: if the file is very large, it might be faster to look at another, smaller file that is generated by the same elegant run and will have the same number of pages.

--Michael
by michael_borland
01 Jun 2011, 19:24
Forum: General
Topic: Number of Output Pages
Replies: 4
Views: 6791

Re: Number of Output Pages

Joel,

You can use "sdds2stream -npages=bare <filename>" . This program also has the ability to report the number of rows (-rows=bare).

--Michael