summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--psr/psr_vs_detuning_combo.m24
1 files changed, 24 insertions, 0 deletions
diff --git a/psr/psr_vs_detuning_combo.m b/psr/psr_vs_detuning_combo.m
new file mode 100644
index 0000000..2e8921d
--- /dev/null
+++ b/psr/psr_vs_detuning_combo.m
@@ -0,0 +1,24 @@
+1;
+
+N_detun_steps=1000;
+detuning_p_min=-200.0;
+%detuning_p_max=-detuning_p_min;
+detuning_p_max=1000;
+detuning_freq=linspace(detuning_p_min,detuning_p_max,N_detun_steps);
+
+gmg=.7; % gyro magnetic ration for ground level
+zeeman_splitting=+0.000;
+B_field=zeeman_splitting/gmg;
+
+%[psr_rad]=psr_vs_detuning(Ep, psi_el, B_field, theta, phi)
+
+% phi is angle between linear polarization and axis x
+phi=pi*2/8;
+% theta is angle between lab z axis (light propagation direction) and magnetic field axis (z')
+theta=0;
+% psi_el is the ellipticity parameter (phase difference between left and right polarization)
+psi_el=-30/180*pi;
+
+Ep=0.2;
+[psr_rad]=psr_vs_detuning(detuning_freq, Ep, psi_el, B_field, theta, phi) ;
+