summaryrefslogtreecommitdiff
path: root/compass_circ.m
diff options
context:
space:
mode:
Diffstat (limited to 'compass_circ.m')
-rw-r--r--compass_circ.m8
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;