summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compass_lin_extrema_vs_theta.m5
-rw-r--r--compass_lin_extrema_vs_theta_output_results.m2
2 files changed, 4 insertions, 3 deletions
diff --git a/compass_lin_extrema_vs_theta.m b/compass_lin_extrema_vs_theta.m
index 8f72d0a..1428feb 100644
--- a/compass_lin_extrema_vs_theta.m
+++ b/compass_lin_extrema_vs_theta.m
@@ -87,9 +87,10 @@ 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);
@@ -146,7 +147,7 @@ total_relative_transmission=cellfun(@total_relative_transmission, problems_cell_
%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 thetas problem_cntr;
+save './cached/total_relative_transmission_vs_theta.mat' detuning_freq total_relative_transmission thetas problem_cntr;
compass_lin_extrema_vs_theta_output_results;
diff --git a/compass_lin_extrema_vs_theta_output_results.m b/compass_lin_extrema_vs_theta_output_results.m
index 4e8d21b..7a04f31 100644
--- a/compass_lin_extrema_vs_theta_output_results.m
+++ b/compass_lin_extrema_vs_theta_output_results.m
@@ -1,7 +1,7 @@
1;
-load '/tmp/total_relative_transmission_vs_theta.mat' ;
+load './cached/total_relative_transmission_vs_theta.mat' ;
% let's create sideband transmission vs angle vectors
% 1st of all we need to create matrix instead of a vector