From 3a44a78bbaade8362574d4a07bde9b7dd059cf98 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Wed, 16 Jun 2010 19:36:25 +0000 Subject: ellipticity properly added --- psr/psr.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'psr') diff --git a/psr/psr.m b/psr/psr.m index 6e3f0c9..66191bb 100644 --- a/psr/psr.m +++ b/psr/psr.m @@ -98,10 +98,11 @@ psi_el=-2/180*pi; % only sign of modulation frequency is important now % we define actual frequency later on [E_field_lab_pos_freq.x, E_field_lab_pos_freq.y] = rotXpolarization(phi, E_field_lab_pos_freq.linear); + % we add required ellipticity + E_field_lab_pos_freq.x*=exp(I*psi_el); E_field_lab_pos_freq.z=E_field_zero; E_field_pos_freq=xyz_lin2atomic_axis_polarization(theta, E_field_lab_pos_freq); - E_field_pos_freq.left*=exp(I*psi_el); fprintf (stderr, "tuning laser in forloop to set conditions vs detuning\n"); -- cgit v1.2.3