Search found 41 matches

by wguo
27 Jan 2009, 15:20
Forum: Bugs
Topic: Location insensitive of the MALIGN element
Replies: 10
Views: 14288

Re: Location insensitive of the MALIGN element

Max, I still see that problem mentioned above. However, yours is different. It won't completely restore the orbit if you use two MALIGN element as described in your message. You would get a displacement at the end due to the misalignment angle. You will need to correct that as following: MA1: dxp=th...
by wguo
20 Oct 2008, 14:43
Forum: Ring Tracking
Topic: BPM Offsets
Replies: 1
Views: 2358

BPM Offsets

Michael, I found BPMs (MONI elements) have misalignment errors (DX and DY) too. In this case, what would the beam be corrected to if I use the correct command? Suppose the magnets are centered on a girder and the girder has misalignment errors. One wants to correct the beam to the center of the magn...
by wguo
29 Sep 2008, 10:24
Forum: Ring Tracking
Topic: Radia kickmap
Replies: 4
Views: 3486

Re: Radia kickmap

Michael,

Could you add synchron radiation loss to ukickmap as what you did to Wiggler and Cwiggler? I guess you have similar subroutines.


Weiming
by wguo
26 Sep 2008, 11:41
Forum: Feature Requests
Topic: Beta function correction
Replies: 1
Views: 6724

Beta function correction

Michael, We know Elegant has a closed orbit correction function, but it cannot correct beta functions. For simulation the beta functions always have to be corrected in presence of errors, even just with misalignment error. Anothe example is when IDs are added. I wrote one using tcl and sdds, but the...
by wguo
18 Aug 2008, 08:44
Forum: Bugs
Topic: Location insensitive of the MALIGN element
Replies: 10
Views: 14288

Location insensitive of the MALIGN element

Hi Michael,

I use MALIGN element to search for the maximum stable offsets. However, no matter where I put it, it displaces the coordinates as if it is at the beginning of the beamline. In other words, I always get the same dynamic aperture even if I move that element along the beamline.

Weiming
by wguo
24 Jul 2008, 09:18
Forum: Ring Tracking
Topic: Radia kickmap
Replies: 4
Views: 3486

attachement files

The maximum allowed number of attachment is 3, so I attached them here.


Weiming
by wguo
24 Jul 2008, 09:01
Forum: Ring Tracking
Topic: Radia kickmap
Replies: 4
Views: 3486

Radia kickmap

Radia kickmap is really simple in terms of scripting. I implemented the method into Elegant by using a SCRIPT element. In the lte file, the script element is defined as DWSCRIPT: SCRIPT,COMMAND="./DWkickmap -input %i -output %o -Bmax %np0 -kickmapFile %sp0",& verbosity=1,NP0=1.0, SP0="W90v5_pole80mm...
by wguo
20 Jul 2008, 09:19
Forum: Bugs
Topic: Requirement of SCRIPT element
Replies: 2
Views: 2569

Requirement of SCRIPT element

To run the script command, one has to set the concat_order to 0, the default value, in the run_setup command; otherwise Elegant would ignore the script element.

Weiming Guo
by wguo
17 Jun 2008, 13:17
Forum: General
Topic: Sdds question
Replies: 3
Views: 27879

Re: Sdds question

Michael, Thanks! That was quick. I found another way to do it: sddsprocess aps.twi -pipe=out -delete=col,* -retain=col,betax,betay \ | sddstranspose -pipe \ | sddsbreak -pipe -rowlimit=1 \ | sddstranspose -pipe \ | sddscombine -pipe -merge \ | sddsconvert -pipe=in oneColumn.twi -rename=col,betax=dbe...
by wguo
17 Jun 2008, 12:49
Forum: General
Topic: Sdds question
Replies: 3
Views: 27879

Sdds question

Can one of the gurus tell me how to concatenate two columns in an sdds file into one column? I use list to do it but I think it is very awkward. The question comes from the attempt to make a response matrix. If a quadrupole strength changes, both betax and betay change and I had to connect two colum...