183 lines
4.2 KiB
Matlab
183 lines
4.2 KiB
Matlab
ground = struct(...
|
|
'full_name', 'Ground',...
|
|
'short_name', 'ground',...
|
|
'letter', 'g',...
|
|
'above_of', '',...
|
|
'bellow_of', 'marble',...
|
|
'tx', struct(...
|
|
'isMeasured', false, ...
|
|
'isExcited', false, ...
|
|
'id', 0 ...
|
|
),...
|
|
'ty', struct(...
|
|
'isMeasured', false, ...
|
|
'isExcited', false, ...
|
|
'id', 0 ...
|
|
),...
|
|
'tz', struct(...
|
|
'isMeasured', false, ...
|
|
'isExcited', false, ...
|
|
'id', 0 ...
|
|
)...
|
|
);
|
|
marble = struct(...
|
|
'full_name', 'Marble',...
|
|
'short_name', 'marble',...
|
|
'letter', 'm',...
|
|
'above_of', 'ground',...
|
|
'bellow_of', 'trans_stage',...
|
|
'tx', struct(...
|
|
'isMeasured', true, ...
|
|
'isExcited', true, ...
|
|
'id', 2 ...
|
|
),...
|
|
'ty', struct(...
|
|
'isMeasured', true, ...
|
|
'isExcited', true, ...
|
|
'id', 3 ...
|
|
),...
|
|
'tz', struct(...
|
|
'isMeasured', true, ...
|
|
'isExcited', true, ...
|
|
'id', 4 ...
|
|
)...
|
|
);
|
|
trans_stage = struct(...
|
|
'full_name', 'Translation Stage',...
|
|
'short_name', 'trans_stage',...
|
|
'letter', 't',...
|
|
'above_of', 'marble',...
|
|
'bellow_of', 'tilt_stage',...
|
|
'tx', struct(...
|
|
'isMeasured', true, ...
|
|
'isExcited', false, ...
|
|
'id', 5 ...
|
|
),...
|
|
'ty', struct(...
|
|
'isMeasured', true, ...
|
|
'isExcited', false, ...
|
|
'id', 6 ...
|
|
),...
|
|
'tz', struct(...
|
|
'isMeasured', true, ...
|
|
'isExcited', false, ...
|
|
'id', 7 ...
|
|
)...
|
|
);
|
|
tilt_stage = struct(...
|
|
'full_name', 'Tilt Stage',...
|
|
'short_name', 'tilt_stage',...
|
|
'letter', 'o',...
|
|
'above_of', 'trans_stage',...
|
|
'bellow_of', 'hexa',...
|
|
'tx', struct(...
|
|
'isMeasured', true, ...
|
|
'isExcited', false, ...
|
|
'id', 8 ...
|
|
),...
|
|
'ty', struct(...
|
|
'isMeasured', true, ...
|
|
'isExcited', false, ...
|
|
'id', 9 ...
|
|
),...
|
|
'tz', struct(...
|
|
'isMeasured', true, ...
|
|
'isExcited', false, ...
|
|
'id', 10 ...
|
|
)...
|
|
);
|
|
hexa = struct(...
|
|
'full_name', 'Hexapod',...
|
|
'short_name', 'hexa',...
|
|
'letter', 'h',...
|
|
'above_of', 'tilt_stage',...
|
|
'bellow_of', 'nano_stage',...
|
|
'tx', struct(...
|
|
'isMeasured', true, ...
|
|
'isExcited', true, ...
|
|
'id', 11 ...
|
|
),...
|
|
'ty', struct(...
|
|
'isMeasured', true, ...
|
|
'isExcited', true, ...
|
|
'id', 12 ...
|
|
),...
|
|
'tz', struct(...
|
|
'isMeasured', true, ...
|
|
'isExcited', true, ...
|
|
'id', 13 ...
|
|
)...
|
|
);
|
|
nano_stage = struct(...
|
|
'full_name', 'Nano Stage',...
|
|
'short_name', 'nano_stage',...
|
|
'letter', 'n',...
|
|
'above_of', 'hexa',...
|
|
'bellow_of', 'sample',...
|
|
'tx', struct(...
|
|
'isMeasured', false, ...
|
|
'isExcited', false, ...
|
|
'id', 0 ...
|
|
),...
|
|
'ty', struct(...
|
|
'isMeasured', false, ...
|
|
'isExcited', false, ...
|
|
'id', 0 ...
|
|
),...
|
|
'tz', struct(...
|
|
'isMeasured', false, ...
|
|
'isExcited', false, ...
|
|
'id', 0 ...
|
|
)...
|
|
);
|
|
sample = struct(...
|
|
'full_name', 'Sample',...
|
|
'short_name', 'sample',...
|
|
'letter', 's',...
|
|
'above_of', 'nano_stage',...
|
|
'bellow_of', '',...
|
|
'tx', struct(...
|
|
'isMeasured', false, ...
|
|
'isExcited', false, ...
|
|
'id', 0 ...
|
|
),...
|
|
'ty', struct(...
|
|
'isMeasured', false, ...
|
|
'isExcited', false, ...
|
|
'id', 0 ...
|
|
),...
|
|
'tz', struct(...
|
|
'isMeasured', false, ...
|
|
'isExcited', false, ...
|
|
'id', 0 ...
|
|
)...
|
|
);
|
|
%%
|
|
elements = struct(...
|
|
'ground', ground,...
|
|
'marble', marble,...
|
|
'trans_stage', trans_stage,...
|
|
'tilt_stage', tilt_stage,...
|
|
'hexa', hexa,...
|
|
'nano_stage', nano_stage,...
|
|
'sample', sample ...
|
|
);
|
|
|
|
%% Where is located the data files generated by export_measure_data script
|
|
files = struct(...
|
|
'frf', 'id31_microstation_2017_11_17_frf.mat',...
|
|
'coh', 'id31_microstation_2017_11_17_coh.mat' ...
|
|
);
|
|
|
|
%%
|
|
m_object = struct(...
|
|
'files', files,...
|
|
'elements', elements,...
|
|
'quantity', 'acceleration', ...
|
|
'notes', 'Mesures du 17/11/2017 par Marc Lessourd - Accelerometers' ...
|
|
);
|
|
|
|
|
|
%% Save m_object
|
|
save('../data/2017_11_17.mat', 'm_object')
|