qsirecon.workflows.recon.converters module

Converting between file formats

qsirecon.workflows.recon.converters.init_mif_to_fibgz_wf(inputs_dict, name='mif_to_fibgz', qsirecon_suffix='', params={})[source]

Converts a MRTrix mif file to DSI Studio fib file.

This workflow uses sh2amp to sample the FODs on the standard DSI Studio ODF direction set. These are then loaded and converted to the fib MATLAB v4 format and peak directions are detected using Dipy.

Inputs

mif_file

MRTrix format mif file containing sh coefficients representing FODs.

Outputs

fibgz

DSI Studio fib file containing the FODs from the input mif_file.

qsirecon.workflows.recon.converters.init_fibgz_to_mif_wf(name='fibgz_to_mif', qsirecon_suffix='', params={})[source]

Needs Documentation

qsirecon.workflows.recon.converters.init_fibgz_to_mif_wf(name='fibgz_to_mif', qsirecon_suffix='', params={})[source]

Needs Documentation

qsirecon.workflows.recon.converters.init_fod_fib_wf(inputs_dict, name='fod_fib', qsirecon_suffix='', params={})[source]

Converts MRTrix FODs to a DSI Studio fib file for the FOD-AutoTrack method.

Inputs

fod_sh_mif

MRTrix format mif file containing sh coefficients representing FODs.

fibgz

DSI Studio file containing a standard GQI reconstruction

fibgz_map

DSI Studio spatial normalization file.

Outputs

fibgz

DSI Studio fib file containing the FODs from the input mif_file.

fibgz_map

DSI Studio spatial normalization file. Passed through unchanged, but renamed to match fibgz so it will be recognized by DSI Studio.

recon_scalars

Ununsed.

qsirecon.workflows.recon.converters.init_mif_to_fibgz_wf(inputs_dict, name='mif_to_fibgz', qsirecon_suffix='', params={})[source]

Converts a MRTrix mif file to DSI Studio fib file.

This workflow uses sh2amp to sample the FODs on the standard DSI Studio ODF direction set. These are then loaded and converted to the fib MATLAB v4 format and peak directions are detected using Dipy.

Inputs

mif_file

MRTrix format mif file containing sh coefficients representing FODs.

Outputs

fibgz

DSI Studio fib file containing the FODs from the input mif_file.

qsirecon.workflows.recon.converters.init_qsirecon_to_fsl_wf(inputs_dict, name='qsirecon_to_fsl', qsirecon_suffix='', params={})[source]

Converts QSIRecon outputs (images, bval, bvec) to fsl standard orientation