summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2011-11-16 18:24:33 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2020-09-21 16:29:52 -0400
commit3db7cbaaf3bcf9ea57d04abedc188d649ef9f7ec (patch)
treea0a4b4f43c0d012e796be0587e14a1e9633641ae
parent1a7aa09b23c0ab23f9678437998e9aa8350dc7c5 (diff)
downloadmulti_mode_eit-3db7cbaaf3bcf9ea57d04abedc188d649ef9f7ec.tar.gz
multi_mode_eit-3db7cbaaf3bcf9ea57d04abedc188d649ef9f7ec.zip
Added command line capabilities
-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");