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.workflow.mriqc.filter_iqms(apidf, filters)[source]¶
Filters the API table based on user-provided parameters. Filter parameters should be a list of strings and string formats should be “(VAR) (Operator) (Value)”.
Example: [‘TR == 3.0’] or [‘TR > 1.0’,’FD < .3’]
- Parameters:
apidf : DataFrame
API table.
filters : list
list of filters as strings.
- Returns:
filterdf : DataFrame
table containing data pulled from the mriqc API, but filtered to contain only your match specifications.
Notes
Each filter element is SPACE separated!
Follow us