diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-11-17 17:18:38 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2020-09-21 16:33:21 -0400 |
commit | fb14c86de04182c3070d050b5ca0cb0f26109e7d (patch) | |
tree | 9a770fe45c4270596a0fd1ec574447fe51f7b4d6 /faraday/tasks_builder.m | |
parent | 1ac97d6e7466d226fd77f94fcf3d0d073e0017fe (diff) | |
download | multi_mode_eit-fb14c86de04182c3070d050b5ca0cb0f26109e7d.tar.gz multi_mode_eit-fb14c86de04182c3070d050b5ca0cb0f26109e7d.zip |
problem case renamed
Diffstat (limited to 'faraday/tasks_builder.m')
-rwxr-xr-x | faraday/tasks_builder.m | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/faraday/tasks_builder.m b/faraday/tasks_builder.m deleted file mode 100755 index 3cc76b9..0000000 --- a/faraday/tasks_builder.m +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/octave -qf - -task_dir='tasks/'; -task_base_name='task_'; -task_ext='.mat'; -data_dir='results/'; -output_dir='results/'; -detuning_freq=0; - - -% assign some defaults -gmg=.7; % gyro magnetic ration for ground level - -%[psr_rad]=psr_vs_detuning(Ep, psi_el, B_field, theta, phi) - -% phi is angle between linear polarization and axis x -%phi=pi/4; -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=0/180*pi*e-8; - -Ep=sqrt(0.1); - -% we are going to sweep B so parts related to sweep paramer(s) -zeeman_splitting=+0.1; -Nsteps=100; -B_fields=linspace(-zeeman_splitting/gmg, zeeman_splitting/gmg, Nsteps); - -for i=1:Nsteps - filename_task=strcat(task_dir, task_base_name); - i_str=num2str(i, "%04d"); - filename_task=strcat(filename_task,i_str, task_ext); - B_field = B_fields(i); - save(filename_task, 'detuning_freq', 'Ep', 'psi_el', 'B_field', 'theta', 'phi'); -endfor - -disp("Tasks creation done"); |