Beispiel #1
0
    fsl.ExtractROI(
        t_min=nDelfMRI,  # first volumes to be deleted
        t_size=-1),
    name="extract")

# smoothing with SUSAN
susan = Node(
    fsl.SUSAN(brightness_threshold=2000.0,
              fwhm=6.0),  # smoothing filter width (6mm, isotropic)
    name='susan')

# masking the fMRI with a brain mask
applymask = Node(fsl.ApplyMask(), name='applymask')

# flip left / right node
flipLR = Node(ModifyAffine(transformation_matrix=np.array(
    [[-1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]])),
              name='flipLR')

###########
#
# READ TASK INFO IN PREPRARATION FOR THE ANALYSIS
#
###########

# Creating the layout object for this BIDS data set
layout = BIDSLayout(dataDir)

# task information file
fileEvent = layout.get(suffix='events',
                       task='fingerfootlips',
                       extension='tsv',