Search found 1930 matches

by michael_borland
12 Jun 2009, 10:13
Forum: Linac Tracking
Topic: DeltaGamma in CSRCSBEND output
Replies: 2
Views: 6190

Re: DeltaGamma in CSRCSBEND output

Takahiro,

I think the source of the confusion is that the output files from CSRCSBEND shows the change in Gamma for the most recent slice of the dipole. Therefore, if you have N_KICKS=100, you'd see DeltaGamma of about 1% of what you might expect.

--Michael
by michael_borland
27 May 2009, 13:09
Forum: Linac Tracking
Topic: emittances in elegant
Replies: 2
Views: 5658

Re: emittances in elegant

Pete, My guess about the source of the vertical emittance growth is chromatic aberrations from the quadrupoles. The emittance growth scales like sigma_y^2*sigma_delta/f, where f is the focal length. So better control of the vertical beamsize at strong quads will help. Elegant computes emittances as ...
by michael_borland
22 May 2009, 15:49
Forum: Ring Tracking
Topic: What's wrong with my kicker setting?
Replies: 4
Views: 8726

Re: What's wrong with my kicker setting?

Shancai, I don't think there is anything wrong with your kicker settings. The problem is that you have strong sextupoles inside the bump. As the kickers fire, they kick the stored beam a t=0, t=0.22 us, t=0.44us, etc. However, the bump is matched only for t=0.5 us (full amplitude), because of the se...
by michael_borland
22 May 2009, 15:34
Forum: General
Topic: How to change ranges in sddsplot
Replies: 2
Views: 2255

Re: How to change ranges in sddsplot

If you just want to specify fixed scales, try the -scales option, e.g.,

sddsplot -column=s,betax -scales=0,0,0,30

would plot betax between 0 and 30, but autoscale on y.

Let me know if this isn't why you are trying to do.

--Michael
by michael_borland
07 May 2009, 09:00
Forum: General
Topic: sddsplot fiddling
Replies: 2
Views: 2120

Re: sddsplot fiddling

Pete,

Try this:

sddsplot -column=s,LinearDensity BC2-MAG-DIPOLE-04.CSR -split=pages -graph=line,vary -order=spectral

--Michael
by michael_borland
29 Apr 2009, 13:59
Forum: Dynamic Aperture
Topic: Input of the higher order multipoles
Replies: 2
Views: 17725

Re: Input of the higher order multipoles

Weiming, You can do this with load_parameters. Just give a file with a string column called ParameterStringValue instead of the usual ParameterValue column. An even easier way is using alter_elements, e.g., &alter_elements name=*, type=KQUAD, item=systematic_multipoles, string_value=<filename> &end ...
by michael_borland
28 Apr 2009, 08:36
Forum: General
Topic: SMOOTHDIST6
Replies: 3
Views: 2373

Re: SMOOTHDIST6

James, Just a word on the use of smoothDist6: it is best used for determining the microbunching gain curve of the system. Because of the algorithm used, some of the detailed correlations among various phase space coordinates will get lost. If you just want to increase the number of particles without...
by michael_borland
24 Apr 2009, 08:38
Forum: Ring Tracking
Topic: Malign element
Replies: 7
Views: 7196

Re: Malign element

Weiming, This is a somewhat confusing issue. Basically, you shouldn't set ON_PASS to any value for this simulation. Leave it at the default value of -1. Elegant interprets this as meaning, for matrix and twiss parameter computations, that you want to simulate a beam that is permanently displaced to ...
by michael_borland
23 Apr 2009, 20:18
Forum: General
Topic: SMOOTHDIST6
Replies: 3
Views: 2373

Re: SMOOTHDIST6

James,

It should be part of the installation. Try typing "smoothDist6s". If not, you can try install the attached script.

--Michael
by michael_borland
21 Apr 2009, 14:25
Forum: General
Topic: Energy Mismatch
Replies: 1
Views: 1705

Re: Energy Mismatch

Chris, This can be done with either an ENERGY or a MALIGN element. Which you use is just a matter of convenience. Using the MALIGN element, you'd set DP equal to the fractional momentum offset of the beam relative to the design momentum. Using the ENERGY element, you can redefine the reference momen...