Search found 36 matches

by Joytop
02 Jun 2012, 18:26
Forum: General
Topic: how can I use this grammar ?
Replies: 54
Views: 32069

Re: how can I use this grammar ?

Dear Michael,

Thanks so much for your help.

Best wishes for your families,
Joy.
by Joytop
23 May 2012, 23:14
Forum: General
Topic: how can I use this grammar ?
Replies: 54
Views: 32069

Re: how can I use this grammar ?

Michael ,

The files are 10M , I can not attach them. So I email you all the files you need.
Please download the files from the email address : flood@aps.anl.gov<flood@aps.anl.gov>
Joy
by Joytop
23 May 2012, 23:04
Forum: General
Topic: how can I use this grammar ?
Replies: 54
Views: 32069

Re: how can I use this grammar ?

Michael , I post them in the attachment. Many thanks. You can run the files. And I print out the .sig and .twi at the point of element of W10 : ElementName betax betay alphax alphay m m W10 5.294596e+00 1.327473e+01 3.855053e+00 -7.775626e+00 ElementName s1 s2 s12 ex m m m W10 2.638371e-04 1.933819e...
by Joytop
23 May 2012, 05:27
Forum: General
Topic: how can I use this grammar ?
Replies: 54
Views: 32069

Re: how can I use this grammar ?

:)
by Joytop
23 May 2012, 02:43
Forum: General
Topic: how can I use this grammar ?
Replies: 54
Views: 32069

Re: how can I use this grammar ?

Dear Michael, I calculated the s3,s4 and emittance in Matlab use the color density image data produced by sddshist2d(sddshist2d inputfile outputfile -col=y,yp -xparam=400,-0.001,0.001 -yparam=400,-0.001,0.001). Then the outputfile data is the density matrix and can be used to calculate ey. The resul...
by Joytop
19 May 2012, 00:28
Forum: General
Topic: how can I use this grammar ?
Replies: 54
Views: 32069

Re: how can I use this grammar ?

Dear Michael, I have a new question : I want to calculate the emittance and s1 ect from the color density plot x-xp as the attchment. Yes, it's really that the dot plot over state the wings. I finished the color density by sddshist2d and sddscontour. Can you give me an example to calculate the emitt...
by Joytop
18 May 2012, 23:51
Forum: General
Topic: how can I use this grammar ?
Replies: 54
Views: 32069

Re: how can I use this grammar ?

Michael, The Sdelta(energy spread) is 1.349871e-03 after the Astra(the begining of Elegant) from both .sig file and sddsanalyzebeam file , and Sdelta at the reconstruction point is 8.107814e-03 from .sig file. Is it too big ? Is it the factor of the dsicrepancy I mentioned above? Does it influence m...
by Joytop
18 May 2012, 21:52
Forum: General
Topic: how can I use this grammar ?
Replies: 54
Views: 32069

Re: how can I use this grammar ?

Michael,

I have set default_order=1. I can not see Sdelta0, rms energy spread, in .twi file. And sddsrugert can only analyze the energy spread of undulator. I have not found anyelse can do with enery spread in the manual.

Best,
Joy
by Joytop
18 May 2012, 20:58
Forum: General
Topic: how can I use this grammar ?
Replies: 54
Views: 32069

Re: how can I use this grammar ?

Hi, Michael :

I have already used the right beta functions from sdds_beam to the twiss_output command. They were consistent. Do you think there are some wrong in my .ele file I posted it several days ago ?

Best,
Joy
by Joytop
17 May 2012, 06:55
Forum: General
Topic: how can I use this grammar ?
Replies: 54
Views: 32069

Re: how can I use this grammar ?

Dear Michael, That's much close. Now I caculate the s1(=Sx),s2(=Sxp) and s12 by ex and twiss parameter . I get ex from .sig : s1 s2 s12 ex ElementName m m m 2.841564e-04 2.955620e-04 8.242936e-08 1.609421e-08 W11 I get twiss from .twi : betax alphax ElementName m 1.870317e+00 -1.261194e-01 W11 then ...