summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--squeezing_filter/pp_tasks.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/squeezing_filter/pp_tasks.m b/squeezing_filter/pp_tasks.m
index 45cc0dd..6e5c692 100644
--- a/squeezing_filter/pp_tasks.m
+++ b/squeezing_filter/pp_tasks.m
@@ -33,6 +33,12 @@ Ep_out.y= 1i*(Ep_out.left - Ep_out.right)/sqrt(2);
+B_str=num2str(B_field(1),"%g");
+ofname_sfx=strcat('Bfield=',B_str);
+ofname=strcat('pp_results/detuning_dependence_for_',B_str,'.mat');
+save(ofname, 'Ep_out', 'B_field', 'detunings', 'Ep', 'Ed', 'xi_left', 'xi_right', 'xi_x', 'xi_y');
+
+
figure(7);
plot(detunings, abs(Ep_out.x).^2 );
legend('x');