nws_tools.generate_randnws(nw, M, method='auto', rwr=5, rwr_max=10)[source]¶Generate random networks given a(n) (un)signed (un)weighted (un)directed input network
| Parameters: | nw : NumPy 2darray
M : int
method : str
rwr : int
rwr_max : int
|
|---|---|
| Returns: | rnws : NumPy 3darray
|
See also
randmio_und_connectedrandmio_dir_connectedrandmio_undrandmio_dirrandmio_und_signedrandmio_dir_signednull_model_und_signnull_model_dir_signNotes
This routine calls functions from the Brain Connectivity Toolbox (BCT) for MATLAB via Octave. Thus, it requires Octave to be installed with the BCT in its search path. Further, oct2py is needed to launch an Octave instance from within Python.