summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");