frites.conn.conn_net#
- frites.conn.conn_net(da, roi='roi', order=None, sep='-', invert=False, verbose=None)[source]#
Compute the net on directed connectivity.
This function can be used to compute the net difference on directed connectivity (i.e. A - B = A->B - B->A).
- Parameters
- da
xr.DataArray
Xarray DataArray containing the connectivity array
- roi‘roi’
Name of the spatial dimension
- order
python:list
|python:None
List of names for specifying the final order
- sep
python:str
| ‘-’ Separator between brain region names (e.g. if ‘Insula->Thalamus’ then sep is ‘->’)
- invertbool |
python:False
Specify whether the difference should be computed with A - B or B - A
- da
- Returns
- out
xr.DataArray
DataArray, with the same dimension names as the input, representing the net difference of directed connexions.
- out