-
Notifications
You must be signed in to change notification settings - Fork 26
/
compile_mex_multem.m
44 lines (42 loc) · 1.12 KB
/
compile_mex_multem.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
clc; clear all;
addpath('matlab_functions')
files = {
'mex_lambda',...
'mex_sigma',...
'mex_gamma',...
'mex_fxeg_data',...
'mex_feg',...
'mex_fxg',...
'mex_pr',...
'mex_vz',...
'mex_vr',...
'mex_vp',...
'mex_gmax',...
'mex_min_spl',...
'mex_mrad_2_rAng',...
'mex_mrad_2_sigma',...
'mex_fwhm_2_sigma',...
'mex_hwhm_2_sigma',...
'mex_iehwgd_2_sigma',...
'mex_scherzer_defocus',...
'mex_scherzer_aperture',...
'mex_crystal_by_lays',...
'mex_rdf_3d',...
'mex_amorp_spec',...
'mex_add_amorp_lay',...
'mex_spec_rot',...
'mex_spec_planes',...
'mex_spec_slicing',...
'mex_incident_wave',...
'mex_propagate',...
'mex_microscope_aberrations',...
'mex_projected_potential',...
'mex_transmission_function',...
'mex_multem',...
'mex_wave_function',...
'mex_apply_ctf'
};
for file=files
disp(['Compiling ' file{1}])
run(['mex_files_multem/',file{1}])
end