diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2020-10-02 12:12:24 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2020-10-02 12:12:24 -0400 |
commit | c3704be0f9424aea0587bdec2fcf6ebe4dd50fb5 (patch) | |
tree | 5e84e6e1da56ff7e8fdf76aec52fbe80d3e7772f /compass_circ.m | |
parent | 025df36dde29d913c5f43456ee5da2a9418d242d (diff) | |
download | multi_mode_eit-c3704be0f9424aea0587bdec2fcf6ebe4dd50fb5.tar.gz multi_mode_eit-c3704be0f9424aea0587bdec2fcf6ebe4dd50fb5.zip |
streamlined circular polarization calculations
Diffstat (limited to 'compass_circ.m')
-rw-r--r-- | compass_circ.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compass_circ.m b/compass_circ.m index d80d179..59341e6 100644 --- a/compass_circ.m +++ b/compass_circ.m @@ -84,9 +84,9 @@ fflush (stderr); detuning_freq=[-.075, -.05, -.025, 0 , .025, .05 , .075, .1]; problem_cntr=1; -N_angle_steps=31; +N_angle_steps=101; min_angle=0; max_angle=pi; -thetas=min_angle:((max_angle-min_angle)/N_angle_steps):max_angle; +thetas=linspace(min_angle,max_angle, N_angle_steps); for theta=thetas; for detuning_p_cntr=1:length(detuning_freq); @@ -125,7 +125,7 @@ for theta=thetas; endfor endfor -save '/tmp/problem_definition.mat' problems_cell_array atom_properties detuning_freq theta; +%save '/tmp/problem_definition.mat' problems_cell_array atom_properties detuning_freq theta; fprintf (stderr, "now really hard calculations begin\n"); fflush (stderr); % once we define all problems the main job is done here @@ -138,7 +138,7 @@ total_relative_transmission_vs_theta=cellfun(@total_relative_transmission, probl %save 'xi_vs_detuning.mat' detuning_freq xi_linear xi_left xi_right ; problem_cntr--; -save '/tmp/total_relative_transmission_vs_theta.mat' detuning_freq total_relative_transmission_vs_theta thetas problem_cntr; +save './cached/total_circ_relative_transmission_vs_theta.mat' detuning_freq total_relative_transmission_vs_theta thetas problem_cntr; compass_circ_output_results; |