AFQ.utils.bin#
Attributes#
Functions#
|
|
|
|
|
|
|
Convert parsed argparse arguments into kwargs for the AFQ API. |
|
|
|
|
|
|
|
|
|
BIDS-App style entry point |
|
Module Contents#
- AFQ.utils.bin.qsi_prep_ignore_params = ['bids_path', 'bids_filters', 'dwi_preproc_pipeline', 'participant_labels', 'output_dir'][source]#
- AFQ.utils.bin._PARTICIPANT_CLI_ONLY = ['dwi', 'bvec', 'bval', 't1', 'o_folder', 'verbose', 'dry_run', 'to_call'][source]#
- AFQ.utils.bin._BIDS_CLI_ONLY = ['bids_dir', 'analysis_level', 'participant_label', 'session_id', 'dwi_preproc_pipeline',...[source]#
- AFQ.utils.bin.cli_args_to_kwargs(cli_args, default_arg_dict, cli_only_args)[source]#
Convert parsed argparse arguments into kwargs for the AFQ API.
- Parameters:
- cli_argsargparse.Namespace
Parsed command line arguments.
- default_arg_dictdict
Output of func_dict_to_arg_dict. Updated in place.
- cli_only_argslist of str
Arguments for the CLI and mandatory arguments for AFQ that are not passed into the AFQ tasks system.
- Returns:
- kwargsdict
Keyword arguments to pass to ParticipantAFQ or GroupAFQ. Tractography and segmentation parameters are nested under
tracking_paramsandsegmentation_paramsrespectively.
- AFQ.utils.bin.parse_config_run_afq(dwi, bval, bvec, t1, o_folder, default_arg_dict, cli_args, to_call='export_all', logger=None, verbose=False, dry_run=False)[source]#
- AFQ.utils.bin.run_bids_afq(bids_dir, analysis_level, default_arg_dict, cli_args, participant_label=None, session_id=None, dwi_preproc_pipeline='all', t1_preproc_pipeline=None, bids_filter_file=None, nprocs=1, parallel_engine='serial', skip_bids_validation=False, to_call='all', logger=None, verbose=False, dry_run=False)[source]#
BIDS-App style entry point
- Parameters:
- bids_dirstr
Root of the BIDS dataset (containing
derivatives/).- analysis_level{“participant”, “group”}
participantruns the pipeline for each subject/session.groupruns all and combines participant-level tract profiles into a singletract_profiles.csv.