James,
It should be part of the installation. Try typing "smoothDist6s". If not, you can try install the attached script.
--Michael
Search found 1942 matches
- 23 Apr 2009, 20:18
- Forum: General
- Topic: SMOOTHDIST6
- Replies: 3
- Views: 2580
- 21 Apr 2009, 14:25
- Forum: General
- Topic: Energy Mismatch
- Replies: 1
- Views: 1873
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...
- 20 Apr 2009, 09:09
- Forum: General
- Topic: a question about SDDS
- Replies: 1
- Views: 1968
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...
- 14 Apr 2009, 16:07
- Forum: Optimization and Matching
- Topic: Closed Orbit Correction Fails to Work
- Replies: 9
- Views: 13890
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...
- 14 Apr 2009, 14:03
- Forum: General
- Topic: MONI question - beam position monitor
- Replies: 2
- Views: 2388
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
Normally, I use zero-length monitors to avoid confusion.
--Michael
- 13 Apr 2009, 11:54
- Forum: Bugs
- Topic: Orbit response matrix for BEND.FSE
- Replies: 2
- Views: 5854
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...
- 10 Apr 2009, 17:33
- Forum: General
- Topic: Microtron Dipole Magnet
- Replies: 1
- Views: 2141
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 ...
- 23 Mar 2009, 12:01
- Forum: Optimization and Matching
- Topic: Can elegant perform dynamic Aperture optimization ?
- Replies: 18
- Views: 26969
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...
- 23 Mar 2009, 11:56
- Forum: Optimization and Matching
- Topic: Can elegant perform dynamic Aperture optimization ?
- Replies: 18
- Views: 26969
Re: Can elegant perform dynamic Aperture optimization ?
Shancai, The chromaticity is corrected for each function evaluation. You want this, because you are changing quadrupoles. If the chromaticity isn't corrected each time, you'll almost certainly have a result you can't use (dynamic aperture optimized but wrong chromaticity). If you want to correct the...
- 19 Mar 2009, 21:35
- Forum: General
- Topic: Why twiss doea not symmetry?
- Replies: 3
- Views: 2699
Re: Why twiss doea not symmetry?
Shancai, The lattice layout is symmetric, but the quadrupole strengths are not. To get a symmetric solution, Q1, Q2, and Q3, must have the same strength as Q8, Q7, and Q6, respectively. If you make a new beamline like this: twosec: line=(onesp,-onesp) you'll find it has symmetric lattice functions. ...