conpy.read_connectivity

conpy.read_connectivity(fname)

Read a Connectivity object from an HDF5 file.

Parameters
fnamestr

The name of the file to read the connectivity from. The extension ‘.h5’ will be appended if the given filename doesn’t have it already.

Returns
connectivityinstance of Connectivity

The Connectivity object that was stored in the file.

See also

Connectivity.save

For saving connectivity objects