AFQ.tasks.tractography
#
Module Contents#
Functions#
|
|
|
full path to a nifti file containing the |
|
full path to a nifti file containing the |
|
full path to a nifti file containing the |
|
full path to the complete, unsegmented tractography file |
|
full path to the complete, unsegmented tractography file |
|
full path to the complete, unsegmented tractography file |
|
|
|
Attributes#
- AFQ.tasks.tractography._meta_from_tracking_params(tracking_params, start_time, n_streamlines, seed, stop)[source]#
- AFQ.tasks.tractography.export_seed_mask(data_imap, tracking_params)[source]#
full path to a nifti file containing the tractography seed mask
- AFQ.tasks.tractography.export_stop_mask(data_imap, tracking_params)[source]#
full path to a nifti file containing the tractography stop mask
- AFQ.tasks.tractography.export_stop_mask_pft(pve_wm, pve_gm, pve_csf)[source]#
full path to a nifti file containing the tractography stop mask
- AFQ.tasks.tractography.streamlines(data_imap, seed, stop, tracking_params)[source]#
full path to the complete, unsegmented tractography file
- Parameters
- tracking_paramsdict, optional
The parameters for tracking. Default: use the default behavior of the aft.track function. Seed mask and seed threshold, if not specified, are replaced with scalar masks from scalar[0] thresholded to 0.2. The
seed_mask
andstop_mask
items of this dict may beAFQ.definitions.image.ImageFile
instances. Iftracker
is set to “pft” thenstop_mask
should be an instance ofAFQ.definitions.image.PFTImage
.
- AFQ.tasks.tractography.custom_tractography(import_tract=None)[source]#
full path to the complete, unsegmented tractography file
- Parameters
- import_tractdict or str or None, optional
BIDS filters for inputing a user made tractography file, or a path to the tractography file. If None, DIPY is used to generate the tractography. Default: None
- AFQ.tasks.tractography.gpu_tractography(data_imap, tracking_params, seed, stop, tractography_ngpus=0, chunk_size=100000)[source]#
full path to the complete, unsegmented tractography file
- Parameters
- tractography_ngpusint, optional
Number of GPUs to use in tractography. If non-0, this algorithm is used for tractography, dipy/GPUStreamlines Default: 0
- chunk_sizeint, optional
Chunk size for GPU tracking. Default: 100000