xcp_d.utils.restingstate.mesh_adjacency

xcp_d.utils.restingstate.mesh_adjacency(hemi)[source]

Calculate adjacency matrix from mesh timeseries.

Parameters:

hemi ({“L”, “R”}) – Surface sphere to be load from templateflow Either left or right hemisphere

Returns:

Adjacency matrix.

Return type:

numpy.ndarray