LSRMDLTR reference phase

Moderators: cyao, michael_borland

Post Reply
imartin
Posts: 12
Joined: 09 Mar 2010, 10:53

LSRMDLTR reference phase

Post by imartin » 12 Mar 2010, 08:49

Hi,
I am trying to understand better the LASER_PHASE parameter for the LSRMDLTR element. I can use this parameter to shift the phase of the laser, but have not been able to work out how the zero-phase is defined. Also, how does this relate to the TIME_OFFSET parameter for the external time-dependent modulation of the laser beam?
Thanks,
Ian

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

Re: LSRMDLTR reference phase

Post by michael_borland » 12 Mar 2010, 09:51

Ian,

The phase of the laser field is calculated as phi=k*(z-L/2) - omega*t + phi0, where L is the length of the undulator, t is the time coordinate of the particle, phi0 is the phase specified. Unfortunately, I didn't use (t-tc), so it a bit confusing to set phi0. I'd suggest using LASER_PHASE of omega*L/(2*c) + dphi, where dphi is the desired phase.

For the profile offset, the time coordinate used for the lookup table is t - tfid + tOffset, there tfid is the arrival time of the fiducial particle at z=L/2 and tOffset is the TIME_OFFSET parameter.

Hope this helps.

--Michael

imartin
Posts: 12
Joined: 09 Mar 2010, 10:53

Re: LSRMDLTR reference phase

Post by imartin » 12 Mar 2010, 10:59

Michael,

So if I understand correctly, the phase of the laser is not necessarily fixed with respect to the time envelope? Is this the case? ie if I set the LASER_PHASE and TIME_OFFSET to particular values and then track a different bunch through the element, this could give a different phase wrt to the peak of the time envolope due to the different value for tfid?

thanks,
Ian

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

Re: LSRMDLTR reference phase

Post by michael_borland » 12 Mar 2010, 12:57

Ian,

Yes, that's correct.

--Michael

imartin
Posts: 12
Joined: 09 Mar 2010, 10:53

Re: LSRMDLTR reference phase

Post by imartin » 23 Apr 2010, 07:56

MIchael,

I have been trying to carry out jitter simulations using the LSRMDLTR element, fixing the phase of the laser with respect to the time envelope. To do this I was tracking 2 bunches, the first to act as the fiducial bunch and then apply errors to the linac for the second bunch. When I try this the time envelope remains constant between the two bunches, but the phase of the laser changes. Is there a way to fix the phase? I've attached the .ele and error files I've used as reference, and also a plot showing the longitudinal phase space for the two bunches at the end of the linac.

thanks again,
Ian
Attachments
modulated_bunches.png
longitudinal phase space comparison
modulated_bunches.png (10.09 KiB) Viewed 2023 times
PVB.003.sdds
error definitions
(203.85 KiB) Downloaded 163 times
slicing_PVBI.003.ele
elegant input file
(1.34 KiB) Downloaded 165 times

Post Reply