Twiss for varied momentum

Moderators: cyao, michael_borland

Post Reply
kron
Posts: 7
Joined: 13 Apr 2012, 13:59
Location: JAI,Oxford

Twiss for varied momentum

Post by kron » 04 Feb 2013, 15:22

Hi All,

Can elegant calculate twiss parameters for varied momentum?
I try the following:
&twiss_output
filename=%s_0.twi
output_at_each_step=1
radiation_integrals=1
compute_driving_terms=1
concat_order = 2
&end

&run_control
n_indices = 1
n_steps=3
&end
&vary_element name=MAL, item=DP, initial=-0.04, final=0.04, index_number=0, index_limit=2 &end

&bunched_beam &end

&track &end


There is no change when I plot the functions.

Many thanks,
Thapakron

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

Re: Twiss for varied momentum

Post by michael_borland » 06 Feb 2013, 10:06

Thapakron,

Yes, this can be done. Please look in the examples files at elegantExamples/PAR/chromTracking2

--Michael

kron
Posts: 7
Joined: 13 Apr 2012, 13:59
Location: JAI,Oxford

Re: Twiss for varied momentum

Post by kron » 06 Feb 2013, 11:28

Michael
Thanks a lot, It's all clear now.
Thapakron

Post Reply