Skip to content

Commit aeaa109

Browse files
committed
WIP: ICA_AROMA.py, fixing my syntactic/formatting mistakes
1 parent 19848fd commit aeaa109

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

nipype/interfaces/fsl/ICA_AROMA.py

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,30 +55,27 @@ class ICA_AROMAInputSpec(CommandLineInputSpec):
5555
'-both: both aggressive and non-aggressive denoising (two outputs)')
5656

5757
class ICA_AROMAOutputSpec(TraitedSpec):
58-
aggr_denoised_file=File(exists=True,
59-
desc='if generated: aggressively denoised volume')
60-
nonaggr_denoised_file=File(exists=True,
61-
desc='if generated: non aggressively denoised volume' )
58+
aggr_denoised_file = File(exists=True,
59+
desc='if generated: aggressively denoised volume')
60+
nonaggr_denoised_file = File(exists=True,
61+
desc='if generated: non aggressively denoised volume' )
6262
out_dir = Directory(exists=True,
6363
desc='directory contains (in addition to the denoised files): '
6464
'melodic.ica + classified_motion_components + '
6565
'classification_overview + feature_scores + melodic_ic_mni)')
6666

6767
class ICA_AROMA(CommandLine):
6868
"""
69-
Interface for the ICA_AROMA.py script (v0.3 beta).
69+
Interface for the ICA_AROMA.py script.
7070
7171
ICA-AROMA (i.e. 'ICA-based Automatic Removal Of Motion Artifacts') concerns
7272
a data-driven method to identify and remove motion-related independent
7373
components from fMRI data. To that end it exploits a small, but robust
7474
set of theoretically motivated features, preventing the need for classifier
7575
re-training and therefore providing direct and easy applicability.
7676
77-
7877
See link for further documentation: https://github.com/rhr-pruim/ICA-AROMA
7978
80-
81-
8279
Example
8380
-------
8481
@@ -88,13 +85,12 @@ class ICA_AROMA(CommandLine):
8885
>>> AROMA_obj.inputs.in_file = 'functional.nii'
8986
>>> AROMA_obj.inputs.mat_file = 'func_to_struct.mat'
9087
>>> AROMA_obj.inputs.fnirt_warp_file = 'warpfield.nii'
91-
>>> AROMA_obj.inputs.motion_parameters = 'functional.par'
88+
>>> AROMA_obj.inputs.motion_parameters = 'fsl_mcflirt_movpar.txt'
9289
>>> AROMA_obj.inputs.mask = 'mask.nii.gz'
9390
>>> AROMA_obj.inputs.denoise_type = 'both'
9491
>>> AROMA_obj.inputs.out_dir = 'ICA_testout'
9592
>>> AROMA_obj.cmdline # doctest: +ALLOW_UNICODE
96-
'ICA_AROMA.py -den both -warp warpfield.nii -i functional.nii -m mask.nii.gz \
97-
-affmat func_to_struct.mat -mc fsl_mcflirt_movpar.txt -o ICA_testout'
93+
'ICA_AROMA.py -den both -warp warpfield.nii -i functional.nii -m mask.nii.gz -affmat func_to_struct.mat -mc fsl_mcflirt_movpar.txt -o ICA_testout'
9894
"""
9995
_cmd = 'ICA_AROMA.py'
10096
input_spec = ICA_AROMAInputSpec

0 commit comments

Comments
 (0)