forked from boast-group/BOAST
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSetDefaultEPIParam.m
More file actions
61 lines (52 loc) · 2.65 KB
/
SetDefaultEPIParam.m
File metadata and controls
61 lines (52 loc) · 2.65 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
function epi_param = SetDefaultEPIParam
% =========================================================================
% This function sets the fixed parameters for the standard EPI protocol
% used to calculate the baseline BOLD sensitivity.
% These values can be modified as needed to suit specific requirements
% or preferences.
% =========================================================================
% main_orientation : Slice oriantation
% 'TRA' : transverse
% 'CRO' : coronal
% 'SAG' : sagittal
% fov : Field of view (in mm)
% ph_res : Basic resolution in PE direction (Matrix size)
% pe_ov : Oversampling Ratio in Phase Encoding
% Direction in %
% slicethickness : Full width at half-maximum (FWHM)
% of the slice profile (in mm)
% echo_spacing : Echo spacing (in ms)
% echotime : Effective (central) echo time (in ms)
% vox : Voxel size (in mm)
% (1x3) array (read, phase, slice) direction
% AccF : In-plane Acceleration Factor
% PF : Partial Fourier Coefficient
% =========================================================================
% Updated 23/09/2024
% by Shokoufeh Golshani
epi_param.main_orientation = 'TRA';
epi_param.fov = 192;
epi_param.ph_res = 64;
epi_param.pe_ov = 12;
% Note here 2 mm is used as the FWHM
epi_param.slicethickness = 2; % Siemens pulse approximates Gaussian with 2 mm FWHM
epi_param.echo_spacing = 0.5;
epi_param.echotime = 30;
epi_param.vx_epi = [3 3 3];
epi_param.AccF = 1;
epi_param.PF = 1;
%--------------------------------------------------------------------------
epi_param.fov = epi_param.fov * 10^(-3);
epi_param.echotime = epi_param.echotime * 10^(-3);
epi_param.echo_spacing = epi_param.echo_spacing * 10^(-3);
epi_param.slicethickness = epi_param.slicethickness * 10^(-3);
epi_param.vx_epi = epi_param.vx_epi * 10^(-3);
% Effective phase-encoding steps
epi_param.pe_eff = ceil(epi_param.ph_res * (1 + epi_param.pe_ov/100));
% Fully-sampled case
epi_param.TA_FS = epi_param.echo_spacing * epi_param.pe_eff;
% PF-Acc case
epi_param.pe_eff = epi_param.pe_eff * epi_param.PF/epi_param.AccF;
% Total acquisition time
epi_param.TA = epi_param.echo_spacing * epi_param.pe_eff;
end