Register feat directories to a specific standard
Inputs:
[Mandatory]
feat_dirs : (a directory name)
Lower level feat dirs
reg_image : (a file name)
image to register to (will be treated as standard)
[Optional]
reg_dof : (an integer)
registration degrees of freedom
Outputs:
fsf_file : (an existing file name)
FSL feat specification file
Generate subject specific second level model
>>> from nipype.interfaces.fsl import L2Model
>>> model = L2Model(num_copes=3) # 3 sessions
Inputs:
[Mandatory]
num_copes : (an integer)
number of copes to be combined
Outputs:
design_con : (an existing file name)
design contrast file
design_grp : (an existing file name)
design group file
design_mat : (an existing file name)
design matrix file
Generate FEAT specific files
>>> level1design = Level1Design()
>>> level1design.inputs.interscan_interval = 2.5
>>> level1design.inputs.bases = {'dgamma':{'derivs': False}}
>>> level1design.inputs.session_info = 'session_info.npz'
>>> level1design.run() # doctest: +SKIP
Inputs:
[Mandatory]
bases : (a dictionary with keys which are a value of type 'str' and with values which are a dictionary with keys which are a value of type 'str' and with values which are a boolean or a dictionary with keys which are a value of type 'str' and with values which are a dictionary with keys which are a value of type 'str' and with values which are a boolean)
name of basis function and options e.g., {'dgamma': {'derivs': True}}
interscan_interval : (a float)
Interscan interval (in secs)
session_info Session specific information generated by ``modelgen.SpecifyModel``
[Optional]
contrasts : (a list of items which are a tuple of the form: (a string, 'T', a list of items which are a string, a list of items which are a float) or a tuple of the form: (a string, 'T', a list of items which are a string, a list of items which are a float, a list of items which are a float) or a tuple of the form: (a string, 'F', a list of items which are a tuple of the form: (a string, 'T', a list of items which are a string, a list of items which are a float) or a tuple of the form: (a string, 'T', a list of items which are a string, a list of items which are a float, a list of items which are a float)))
List of contrasts with each contrast being a list of the form - [('name', 'stat', [condition list], [weight list], [session list])]. if session list is None or not provided, all sessions are used. For F contrasts, the condition list should contain previously defined T-contrasts.
model_serial_correlations : ('AR(1)' or 'none')
Option to model serial correlations using an autoregressive estimator. Setting this option is only useful in the context of the fsf file. You need to repeat this option for FILMGLS
Outputs:
ev_files : (an existing file name)
condition information files
fsf_files : (an existing file name)
FSL feat specification files