Correlation between t and y,yp

Moderators: cyao, michael_borland

Post Reply
sabato
Posts: 5
Joined: 21 Jul 2016, 09:08

Correlation between t and y,yp

Post by sabato » 21 Jul 2016, 13:09

Dear all,

In an electron bunch created by means of "bunched beam", is it possible to introduce a correlation between particle longitudinal positions (t) and particle vertical positions (y), and a correlation between particle longitudinal positions (t) and particle vertical divergences (yp)?

Thank for your attention.
Best Regards,
Luca Sabato

michael_borland
Posts: 2008
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Correlation between t and y,yp

Post by michael_borland » 22 Jul 2016, 14:24

Luca,

You could insert an EMATRIX (Explicit MATRIX) element at the beginning of the beamline with nonzero R35 or R45 elements.

--Michael

sabato
Posts: 5
Joined: 21 Jul 2016, 09:08

Re: Correlation between t and y,yp

Post by sabato » 29 Jul 2016, 07:57

Dear Michael,

Thank you for suggestion of the element EMATRIX. I have the bunch in terms of the parameters needed by "bunched beam". Does it exist an automatic way with ELEGANT to transform the same bunch in terms of parameters needed by EMATRIX (and then I can add the correlations <y t> and <y' t>)?

I have another question: Does it exist in ELEGANT a command similar to vary_element for varying in loop the parameters of the bunch (e.g. Twiss parameters, central momentum, etc. )?

Luca

Post Reply