summaryrefslogtreecommitdiff
path: root/psr
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2010-06-29 23:17:08 +0000
committerEugeniy Mikhailov <evgmik@gmail.com>2010-06-29 23:17:08 +0000
commite5cb8b10da8223a50ae2a2fb6412cdf7e1722831 (patch)
treecd92d2ad7caaf85973f446f2b7246857b002f8f3 /psr
parent01c2ad2d24a54c4f50275452e77d86e8dec149c7 (diff)
downloadmulti_mode_eit-e5cb8b10da8223a50ae2a2fb6412cdf7e1722831.tar.gz
multi_mode_eit-e5cb8b10da8223a50ae2a2fb6412cdf7e1722831.zip
added script to run psr for different parameters
Diffstat (limited to 'psr')
-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) ;
+