Fork me on GitHub

pyhrf.sandbox.make_parcellation module

Performs parcellation to a list of subjects

Directory structure:

  • subject:

    • preprocessed_data –> GM+WM mask, functional data, normalised tissue masks
    • t_maps –> T-maps previously computed with GLM (nipy, SALMA)
    • parcellation –> Output
pyhrf.sandbox.make_parcellation.make_mask(mask, volume, mask_file)
pyhrf.sandbox.make_parcellation.make_parcellation(subject, dest_dir='parcellation', roi_mask_file=None)

Perform a functional parcellation from input fmri data

Return: parcellation file name (str)