-
Notifications
You must be signed in to change notification settings - Fork 0
/
Atom_defaults.m
73 lines (51 loc) · 2.27 KB
/
Atom_defaults.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
function Atom_defaults
global DEFAULTS;
%- All Supported Steps
DEFAULTS.SupportedSteps.FullNames ={'Dcm2Nii','SliceTiming','Realign','EPINormalize','T1Normalize','Smooth','CovRegress','Filter','Detrend'};
DEFAULTS.SupportedSteps.ShortNames={'', 'A', 'R', 'W', 'W', 'S', 'Cr', 'Fl', 'Dt' };
DEFAULTS.SupportedSteps.Prefix ={'', 'a', 'r', 'w', 'w', 's', 'c', 'f', 'd' };
%- DeleteImediateFiles=1;
DEFAULTS.DeleteImediateFiles=0;
%- File Arrange Style, DPARSF or SPM ?
DEFAULTS.FileArrangeStyle=1; % 0 for SPM, 1 for DPARSF
%- nBlock
DEFAULTS.nBlock=10;
%- DirName for Dcm2Nii & MotionParameter
DEFAULTS.NiftiFunDirName='FunImg';
DEFAULTS.NiftiAnaDirName='AnaImg';
DEFAULTS.MotionDirName='MotionParameter';
%- Dcm2Nii default format
DEFAULTS.Dcm2NiiFormat='.nii';
%- TR (used in all frequency analysis, so list here)
DEFAULTS.TR=2;
%- Remove First Time Points
%------------------------------------------------------------------------%
DEFAULTS.RemoveTimePoints.nFirstImgDiscard=0;
%- SliceTiming
%------------------------------------------------------------------------%
DEFAULTS.SliceTiming.SliceNumber=32;
DEFAULTS.SliceTiming.SliceOrder=[2:2:32,1:2:31];
DEFAULTS.SliceTiming.ReferenceSlice=32;
DEFAULTS.SliceTiming.TR=DEFAULTS.TR;
%- Realign
%------------------------------------------------------------------------%
DEFAULTS.Realign.Register2Mean=0;
%- Normalize
%------------------------------------------------------------------------%
DEFAULTS.Normalize.BoundingBox=[-90 -126 -72;90 90 108];
DEFAULTS.Normalize.VoxSize=[3,3,3];
%---T1 Normalize---%
DEFAULTS.T1Normalize.Segment.Method='oldSegment'; % spm12 supplys new segment
DEFAULTS.T1Normalize.Segment.Output.GM =[0,1,1]; % Native + Modulated + Unmodulated
DEFAULTS.T1Normalize.Segment.Output.WM =[0,1,1];
DEFAULTS.T1Normalize.Segment.Output.CSF =[0,1,1];
DEFAULTS.T1Normalize.Segment.Output.CleanUp =1; % Light Clean
DEFAULTS.T1Normalize.Segment.AffineRegularisationInSegmentation='eastern'; % /mni/eastern
%- Smooth
%------------------------------------------------------------------------%
DEFAULTS.Smooth.FWHM=[6,6,6];
%- Regress out Covariables
DEFAULTS.PolyTrend=1;
%- Filter
DEFAULTS.FrequencyBand=[0.01,0.1];
end