cmtklib.bids.network module

This module provides functions to handle connectome networks / graphs generated by CMP3.

cmtklib.bids.network.load_graphs(output_dir, subjects, parcellation_scheme, weight)[source]

Return a dictionary of connectivity matrices (graph adjacency matrices).

Still in development

Parameters
  • output_dir (string) – Output/derivatives directory

  • subjects (list) – List of subject

  • parcellation_scheme (['NativeFreesurfer', 'Lausanne2018', 'Custom']) – Parcellation scheme

  • weight (['number_of_fibers','fiber_density',...]) – Edge metric to extract from the graph

Returns

connmats – Dictionary of connectivity matrices

Return type

dict