diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-11-16 14:49:14 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2020-09-21 16:29:52 -0400 |
commit | 46ed078564656957a69e52b69922bfa6a52488ad (patch) | |
tree | ffa5538adc6b2cfc9d8bff7602c8583e9c307f96 /faraday/run_me.m | |
parent | 4c4d562bc5c87deb828ede01a27b3fa9132f580e (diff) | |
download | multi_mode_eit-46ed078564656957a69e52b69922bfa6a52488ad.tar.gz multi_mode_eit-46ed078564656957a69e52b69922bfa6a52488ad.zip |
faraday works now
Diffstat (limited to 'faraday/run_me.m')
-rw-r--r-- | faraday/run_me.m | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/faraday/run_me.m b/faraday/run_me.m new file mode 100644 index 0000000..8a29973 --- /dev/null +++ b/faraday/run_me.m @@ -0,0 +1,25 @@ +data_dir='results/'; +output_dir='results/'; +detuning_freq=0; + +gmg=.7; % gyro magnetic ration for ground level +zeeman_splitting=+0.1; +Nsteps=100; +B_fields=linspace(-zeeman_splitting/gmg, zeeman_splitting/gmg, Nsteps); + +%[psr_rad]=psr_vs_detuning(Ep, psi_el, B_field, theta, phi) + +% phi is angle between linear polarization and axis x +%phi=pi/4; +phi=0; +% 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*e-8; + +Ep=sqrt(0.1); + +%[psr_rad_smEp_pos_el]=psr_vs_detuning(detuning_freq, Ep, psi_el, B_field, theta, phi) ; +[psr_rad_smEp_pos_el]=faraday_vs_B(detuning_freq, Ep, psi_el, B_fields, theta, phi) ; + +plot(B_fields, psr_rad_smEp_pos_el) |