2018-10-07 22:07:21 +02:00
|
|
|
function [] = initializeExperiment(exp_name, sys_mass)
|
|
|
|
if strcmp(exp_name, 'tomography')
|
|
|
|
opts_sim = struct(...
|
|
|
|
'Tsim', 5, ...
|
|
|
|
'cl_time', 5 ...
|
|
|
|
);
|
|
|
|
initializeSimConf(opts_sim);
|
|
|
|
|
|
|
|
if strcmp(sys_mass, 'light')
|
|
|
|
opts_inputs = struct(...
|
2018-10-30 14:37:19 +01:00
|
|
|
'Dw', true, ...
|
|
|
|
'Rz', 60 ... % rpm
|
2018-10-07 22:07:21 +02:00
|
|
|
);
|
|
|
|
elseif strcpm(sys_mass, 'heavy')
|
|
|
|
opts_inputs = struct(...
|
2018-10-30 14:37:19 +01:00
|
|
|
'Dw', true, ...
|
|
|
|
'Rz', 1 ... % rpm
|
2018-10-07 22:07:21 +02:00
|
|
|
);
|
|
|
|
else
|
|
|
|
error('sys_mass should be light or heavy');
|
|
|
|
end
|
|
|
|
|
|
|
|
initializeInputs(opts_inputs);
|
2018-10-30 14:37:19 +01:00
|
|
|
else
|
|
|
|
error('exp_name is only configured for tomography');
|
|
|
|
end
|
2018-10-07 22:07:21 +02:00
|
|
|
end
|