diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2010-07-08 17:21:23 +0000 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2010-07-08 17:21:23 +0000 |
commit | 836a8eadfa53cc35a636be9e8c03dc2ff1fa326d (patch) | |
tree | 4947cb42962bc8c1f6f28043ea4ec6cee585e7c0 /psr/output_psr_results_vs_detuning.m | |
parent | 316ad84690ae17d43ab9f324f55de0e784090119 (diff) | |
download | multi_mode_eit-836a8eadfa53cc35a636be9e8c03dc2ff1fa326d.tar.gz multi_mode_eit-836a8eadfa53cc35a636be9e8c03dc2ff1fa326d.zip |
added files to calculate and plot psr combo
Diffstat (limited to 'psr/output_psr_results_vs_detuning.m')
-rw-r--r-- | psr/output_psr_results_vs_detuning.m | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/psr/output_psr_results_vs_detuning.m b/psr/output_psr_results_vs_detuning.m index cf71711..93912ae 100644 --- a/psr/output_psr_results_vs_detuning.m +++ b/psr/output_psr_results_vs_detuning.m @@ -1,6 +1,4 @@ -1; - - +function psr_rad=output_psr_results_vs_detuning() load '/tmp/xi_vs_detuning.mat' ; Er=(1+I*xi_right)*E_field_pos_freq.right; @@ -48,13 +46,14 @@ hold off; I_probe=E_field_probe^2; psr_rad=(Ipos-Ineg)/(2*I_probe); plot(detuning_freq, psr_rad, '-'); -subt_str=sprintf("Laser Rabi freq normalized to upper state decay %.3f, ellipticity %.1f degree, \n B field ground level splitting %.3f MHz", I_probe, psi_el*180/pi, B_field); +subt_str=sprintf("Laser Rabi freq normalized to upper state decay %.3f, ellipticity %.1f degree, \n B field ground level splitting %.3f Gauss", I_probe, psi_el*180/pi, B_field); title(cstrcat("BPD normilized PSR signal at F_g=2 to F_e=1,2.\n ",subt_str) ); xlabel("two photon detuning (MHz)"); ylabel("PSR (radians)"); print("psr_vs_detuning.ps"); -fname= sprintf("psr_vs_detuning_Fg=2toFe=1,2_Ip=%.3f_el_%.1f_B=%.3fMHz.mat", I_probe, psi_el*180/pi,B_field); +fname= sprintf("psr_vs_detuning_Fg=2toFe=1,2_Ip=%.3f_el_%.1f_B=%.3fG.mat", I_probe, psi_el*180/pi,B_field); save(fname,'detuning_freq', 'psr_rad'); +return; |