summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsqueezing_filter/builder_tasks.m6
-rw-r--r--squeezing_filter/susceptibility_problem.m21
2 files changed, 18 insertions, 9 deletions
diff --git a/squeezing_filter/builder_tasks.m b/squeezing_filter/builder_tasks.m
index f175a3c..7e901b8 100755
--- a/squeezing_filter/builder_tasks.m
+++ b/squeezing_filter/builder_tasks.m
@@ -7,7 +7,7 @@ data_dir='results/';
output_dir='results/';
-detuning_freq_start=-1000;
+detuning_freq_start=-10;
detuning_freq_stop=-detuning_freq_start;
@@ -16,11 +16,11 @@ detuning_freq_stop=-detuning_freq_start;
theta=0;
Ep=sqrt(0.001);
-Ed=sqrt(360);
+Ed=sqrt(3);
% we are going to sweep B so parts related to sweep paramer(s)
gmg=.7; % gyro magnetic ration for ground level
-zeeman_splitting=0.7;
+zeeman_splitting=0.1;
B_field=zeeman_splitting/gmg;
Nsteps=100;
diff --git a/squeezing_filter/susceptibility_problem.m b/squeezing_filter/susceptibility_problem.m
index b9c74fc..1c45a1e 100644
--- a/squeezing_filter/susceptibility_problem.m
+++ b/squeezing_filter/susceptibility_problem.m
@@ -56,11 +56,10 @@ atom_properties.polarizability_m=polarizability_m;
atom_properties.dipole_elements=dipole_elements;
%wp0=w_pf1-w_sf2; %Fg=2 -> Fe=1
-w0=w_pf1-w_hpf_exited+w_hpf_exited; %Fg=2 -> Fe=2
+w0=w_pf1-w_hpf_ground+w_hpf_exited; %Fg=2 -> Fe=2
wp=w0+detuning_freq;
light_positive_freq=[w0, wp, wp-w0]; % [drive_freq, probe_dreq];
-%light_positive_freq = [wp];
E_field_drive = [Ed, 0, 0 ];
E_field_probe = [0, Ep, 0 ];
E_field_zero = [0, 0, 0 ];
@@ -68,14 +67,24 @@ E_field_lab_pos_freq.linear = E_field_probe + E_field_drive;
% we define light as linearly polarized
% where phi is angle between light polarization and axis x
-% only sign of modulation frequency is important now
-% we define actual frequency later on
+
+%% This is for linear and orthogonal polarizations of probe and drive
E_field_lab_pos_freq.x = E_field_drive;
E_field_lab_pos_freq.y = E_field_probe;
-E_field_lab_pos_freq.z=E_field_zero;
-
+E_field_lab_pos_freq.z = E_field_zero;
E_field_pos_freq=xyz_lin2atomic_axis_polarization(theta, E_field_lab_pos_freq);
+%% This is for circular and orthogonal polarizations of probe and drive
+%E_field_pos_freq.left = E_field_drive;
+%E_field_pos_freq.right = E_field_probe;
+%E_field_pos_freq.linear = E_field_zero;
+
+%% This is for circular and parallel polarizations of probe and drive
+%E_field_pos_freq.left = E_field_drive+E_field_probe;
+%E_field_pos_freq.right = E_field_zero;
+%E_field_pos_freq.linear = E_field_zero;
+
+
% we calculate dc and negative frequencies as well as amplitudes
[modulation_freq, E_field] = ...
light_positive_frequencies_and_amplitudes2full_set_of_modulation_frequencies_and_amlitudes(...