Package that provides tools for brain MRI Deep Learning pre-processing.
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.
- brainprep.qc.parse_cat12vbm_roi(xml_filenames, output_file, iterparse={'neuromorphometrics': ['ids', 'Vgm', 'Vcsf']})[source]ΒΆ
Parse the cat12vbm xml generated rois files for all subjects.
- Parameters:
xml_filenames : list or str(regex,regex)
regex to the CAT12 VBM catROI and cat xml files for all subjects: <PATH>/label/catROI_sub-*_ses-*_T1w.xml, <PATH>/report/cat_sub-*_ses-*_T1w.xml.
output : str
the destination folder.
iterparse : dict
a dictionary with the region type to focus on as key, and the list of data to return as values.
- Returns:
output_file : str
rois tsv path.
Follow us