qsiprep/interfaces/mrtrix.py
def _merge_conmats(matfile_list, outfile):
    """Merge the many matfiles output by dsi studio and ensure they conform"""
    connectivity_values = {}

    for matfile in matfile_list:
        connectivity_values.update(loadmat(matfile))
    savemat(outfile, connectivity_values, long_field_names=True, do_compression=True)
Merge the many matfiles output by dsi studio and ensure they conform
Merge the many matfiles output by dsi studio and ensure they conform
Merge the many matfiles output by dsi studio and ensure they conform
def _merge_conmats(matfile_list, outfile):
    connectivity_values = {}
    for matfile in matfile_list:
        connectivity_values.update(loadmat(matfile))
    savemat(outfile, connectivity_values, long_field_names=True, do_compression=True)
def _merge_conmats ( matfile_list , outfile ) : connectivity_values = { } for matfile in matfile_list : connectivity_values . update ( loadmat ( matfile ) ) savemat ( outfile , connectivity_values , long_field_names = True , do_compression = True )
Merge the many matfiles output by dsi studio and ensure they conform
Merge the many matfiles output by dsi studio and ensure they conform
"""Merge the many matfiles output by dsi studio and ensure they conform"""
matfile_list
outfile