omni.pipelines.bids#

Functions

bids_proc(bids_path, output_path, ...[, ...])

BIDS processor.

omni.pipelines.bids.bids_proc(bids_path: str, output_path: str, participant_label: ~typing.List[str], function_to_run: ~typing.Callable = <function pre_proc>, combine_sessions: bool = False, skip_validation: bool = False, database: ~typing.Optional[str] = None, reset_database: bool = False, skip_database: bool = False, dryrun: bool = False, single_rest_run: bool = False, **kwargs) None[source]#

BIDS processor.

Parameters:
bids_pathstr

Path to BIDS dataset.

output_pathstr

Path to output files.

participant_labelList[str]

List of participant labels to process.

function_to_run: Callable

Function to run. Must take the following arguments: output_path, t1, t2, func, metadata, kwargs

skip_validationbool

Skip BIDS validator.

databasestr

Path to alternative location for BIDS sql database.

reset_databasebool

Delete the current BIDS sql database.

skip_databasebool

Skip reading/writing from BIDS data sql database.

dryrunbool

Run bids parsing, but don’t do any processing.

single_rest_runbool

If True, only process the first rest run (For paper).