From 3db7cbaaf3bcf9ea57d04abedc188d649ef9f7ec Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Wed, 16 Nov 2011 18:24:33 -0500 Subject: Added command line capabilities --- faraday/tasks_builder.m | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) mode change 100644 => 100755 faraday/tasks_builder.m diff --git a/faraday/tasks_builder.m b/faraday/tasks_builder.m old mode 100644 new mode 100755 index 22c346f..3cc76b9 --- 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"); -- cgit v1.2.3