Search found 1924 matches

by michael_borland
28 Apr 2009, 08:36
Forum: General
Topic: SMOOTHDIST6
Replies: 3
Views: 2362

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: 7175

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: 2362

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: 1691

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...
by michael_borland
20 Apr 2009, 09:09
Forum: General
Topic: a question about SDDS
Replies: 1
Views: 1772

Re: a question about SDDS

You can change the name of a column, parameter, or array using sddsconvert: sddsconvert input.sdds output.sdds -rename=column,oldName=newName You can also change many names at once using -editnames, e.g., sddsconvert input.sdds output.sdds -rename=column,*y,%/y/z/ would replace 'y' with 'z' in all c...
by michael_borland
14 Apr 2009, 16:07
Forum: Optimization and Matching
Topic: Closed Orbit Correction Fails to Work
Replies: 9
Views: 13383

Re: Closed Orbit Correction Fails to Work

Ray, The problem seems to be that you have multiple horizontal correctors between some monitors, which makes the response matrix nearly singular. In the "NoWork" files, there is one less monitor in each plane that is "useable" (i.e., downstream of a corrector). Somehow that makes the matrix bad enou...
by michael_borland
14 Apr 2009, 14:03
Forum: General
Topic: MONI question - beam position monitor
Replies: 2
Views: 2145

Re: MONI question - beam position monitor

In elegant, the monitor readout is the beam position at the end of the element, not the center.

Normally, I use zero-length monitors to avoid confusion.

--Michael
by michael_borland
13 Apr 2009, 11:54
Forum: Bugs
Topic: Orbit response matrix for BEND.FSE
Replies: 2
Views: 5597

Re: Orbit response matrix for BEND.FSE

Alexey, This is an interesting result. I think the problem is that for orbit response matrix computation, elegant assumes that the kick delivered by the element occurs at the end of the element. This isn't exactly right, but is usually "good enough." I'll have to think about how to solve this. There...
by michael_borland
10 Apr 2009, 17:33
Forum: General
Topic: Microtron Dipole Magnet
Replies: 1
Views: 1989

Re: Microtron Dipole Magnet

Serkan, You can simulate this using SBEN or CSBEND elements. However, you'll need to manually compute the arc length for each pass. To elegant, this is just a dipole with very large edge angles: E1=E2=(pi-theta)/2, where theta>0 is the bending angle. If the dipole has significant fringe fields, you ...
by michael_borland
23 Mar 2009, 12:01
Forum: Optimization and Matching
Topic: Can elegant perform dynamic Aperture optimization ?
Replies: 18
Views: 25422

Re: Can elegant perform dynamic Aperture optimization ?

Shancai, Attached are some files to demonstrate performing a tune scan to optimize dynamic aperture. The scripts work on linux, but may require modification to work on Windows. Also attached is a plot showing what the result looks like. A word of caution: this analyzes only the dynamic aperture. The...