summaryrefslogtreecommitdiff
path: root/faraday
diff options
context:
space:
mode:
Diffstat (limited to 'faraday')
-rwxr-xr-x[-rw-r--r--]faraday/tasks_builder.m7
1 files changed, 5 insertions, 2 deletions
diff --git a/faraday/tasks_builder.m b/faraday/tasks_builder.m
index 22c346f..3cc76b9 100644..100755
--- a/faraday/tasks_builder.m
+++ b/faraday/tasks_builder.m
@@ -1,3 +1,5 @@
+#!/usr/bin/octave -qf
+
task_dir='tasks/';
task_base_name='task_';
task_ext='.mat';
@@ -17,7 +19,7 @@ phi=pi/2;
% theta is angle between lab z axis (light propagation direction) and magnetic field axis (z')
theta=0;
% psi_el is the ellipticity parameter (phase difference between left and right polarization)
-psi_el=-30/180*pi*e-8;
+psi_el=0/180*pi*e-8;
Ep=sqrt(0.1);
@@ -33,4 +35,5 @@ for i=1:Nsteps
B_field = B_fields(i);
save(filename_task, 'detuning_freq', 'Ep', 'psi_el', 'B_field', 'theta', 'phi');
endfor
-return;
+
+disp("Tasks creation done");