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_connected
randmio_dir_connected
randmio_und
randmio_dir
randmio_und_signed
randmio_dir_signed
null_model_und_sign
null_model_dir_sign
Notes
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.