Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.

brainprep.interfaces.plotting.plot_brainparc

brainprep.interfaces.plotting.plot_brainparc(wm_mask_file, gm_mask_file, csf_mask_file, brain_mask_file, output_dir, entities, dryrun=False)[source]
Parameters:
wm_mask_fileFile

Binary mask of white matter regions.

gm_mask_fileFile

Binary mask of gray matter regions.

csf_mask_fileFile

Binary mask of cerebrospinal fluid regions.

brain_mask_fileFile

Binary brain mask file.

output_dirDirectory

FreeSurfer working directory containing all the subjects.

entitiesdict

A dictionary of parsed BIDS entities including modality.

dryrunbool

If True, skip actual computation and file writing. Default False.

Returns:
brainparc_image_fileFile

Image of the GM mask and GM, WM, CSF tissues histograms.