24
24
from ... import LooseVersion
25
25
from ...utils .filemanip import list_to_filename , filename_to_list
26
26
from ...utils .misc import human_order_sorted
27
+ from ...external .due import BibTeX
27
28
from ..base import (load_template , File , traits , isdefined ,
28
29
TraitedSpec , BaseInterface , Directory ,
29
30
InputMultiPath , OutputMultiPath ,
@@ -931,14 +932,14 @@ class FLAMEO(FSLCommand):
931
932
Initialize FLAMEO with no options, assigning them when calling run:
932
933
933
934
>>> from nipype.interfaces import fsl
934
- >>> import os
935
- >>> flameo = fsl.FLAMEO( cope_file= 'cope.nii.gz', \
936
- var_cope_file= 'varcope.nii.gz', \
937
- cov_split_file= 'cov_split.mat', \
938
- design_file= 'design.mat', \
939
- t_con_file= 'design.con', \
940
- mask_file= 'mask.nii', \
941
- run_mode= 'fe')
935
+ >>> flameo = fsl.FLAMEO()
936
+ >>> flameo.inputs. cope_file = 'cope.nii.gz'
937
+ >>> flameo.inputs. var_cope_file = 'varcope.nii.gz'
938
+ >>> flameo.inputs. cov_split_file = 'cov_split.mat'
939
+ >>> flameo.inputs. design_file = 'design.mat'
940
+ >>> flameo.inputs. t_con_file = 'design.con'
941
+ >>> flameo.inputs. mask_file = 'mask.nii'
942
+ >>> flameo.inputs. run_mode = 'fe'
942
943
>>> flameo.cmdline # doctest: +ALLOW_UNICODE
943
944
'flameo --copefile=cope.nii.gz --covsplitfile=cov_split.mat --designfile=design.mat --ld=stats --maskfile=mask.nii --runmode=fe --tcontrastsfile=design.con --varcopefile=varcope.nii.gz'
944
945
@@ -948,6 +949,28 @@ class FLAMEO(FSLCommand):
948
949
input_spec = FLAMEOInputSpec
949
950
output_spec = FLAMEOOutputSpec
950
951
952
+ references_ = [{'entry' : BibTeX ('@article{BeckmannJenkinsonSmith2003,'
953
+ 'author={C.F. Beckmann, M. Jenkinson, and S.M. Smith},'
954
+ 'title={General multilevel linear modeling for group analysis in FMRI.},'
955
+ 'journal={NeuroImage},'
956
+ 'volume={20},'
957
+ 'pages={1052-1063},'
958
+ 'year={2003},'
959
+ '}' ),
960
+ 'tags' : ['method' ],
961
+ },
962
+ {'entry' : BibTeX ('@article{WoolrichBehrensBeckmannJenkinsonSmith2004,'
963
+ 'author={M.W. Woolrich, T.E. Behrens, '
964
+ 'C.F. Beckmann, M. Jenkinson, and S.M. Smith},'
965
+ 'title={Multilevel linear modelling for FMRI group analysis using Bayesian inference.},'
966
+ 'journal={NeuroImage},'
967
+ 'volume={21},'
968
+ 'pages={1732-1747},'
969
+ 'year={2004},'
970
+ '}' ),
971
+ 'tags' : ['method' ],
972
+ }]
973
+
951
974
# ohinds: 2010-04-06
952
975
def _run_interface (self , runtime ):
953
976
log_dir = self .inputs .log_dir
0 commit comments