summaryrefslogtreecommitdiff
path: root/psr/psr.m
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2010-06-16 19:36:25 +0000
committerEugeniy Mikhailov <evgmik@gmail.com>2010-06-16 19:36:25 +0000
commit3a44a78bbaade8362574d4a07bde9b7dd059cf98 (patch)
treea050fda6f4aeb1bc4954ff48ff6aeacbe972abd1 /psr/psr.m
parent45f970c010cd2981f86eb4b7ce3cd25f9947e96f (diff)
downloadmulti_mode_eit-3a44a78bbaade8362574d4a07bde9b7dd059cf98.tar.gz
multi_mode_eit-3a44a78bbaade8362574d4a07bde9b7dd059cf98.zip
ellipticity properly added
Diffstat (limited to 'psr/psr.m')
-rw-r--r--psr/psr.m3
1 files changed, 2 insertions, 1 deletions
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");