bctpy
bctpy copied to clipboard
brain connectivity toolbox for python
Hi there, great tool!:) I spotted a few small issues with backbone_wu, added/changed some functionality (see verbosity and avgdeg) and refactored bits of the code to make it easier to...
I would like to compute the global efficiency for a set of directed matrices. Looking at the appendix of this [this paper](https://www.sciencedirect.com/science/article/pii/S105381190901074X?casa_token=SKmb6HngWu4AAAAA:B8tCc18GCyoP3sY3RkZi9KCTwl5spO4Ku1KhPQr67s9MWGqe1PavWMyZLe_3a1-_vbJUpv9bRNmM), it seems that `bct.efficiency_wei` is agnostic to direction...
I would like to compute the global efficiency for my undirected weighted matrices. Higher values in my matrices correspond to a "weaker connection" (or in my field to a more...
`get_rng` is now just a thin wrapper around `numpy.random.default_rng`, which reduces the set of types which could be used as a seed but improves consistency. `default_rng` may change the underlying...
I think travis is dead; certainly pythons 2.7-3.6 are.
Following on from #67 : As of somewhat-recent numpy versions, the RandomState RNG interface has been deprecated in favour of the Generator interface, and bctpy should be updated to match....
Hi, when I use the `generative_model()` function, the following error occured. I have uploaded my test file and my running environment is `python 3.8.12`, `numpy 1.20.3`, `scipy 1.6.2`, `bctpy 0.5.2`....
Hello, I have spend some time trying to figure out what was causing `Modularity Infinite Loop Style C. Please contact the developer with this error.` in **modularity_louvain_und**. In case someone...
Hi, For some undirected and weighted networks, when I run the **_community_louvain_** function an error message emerges: "BCTParamError: Modularity infinite loop style G. Please contact the developer". Does anyone have...
I wanted to use `bct.randomize_graph_partial_und` to shuffle my connectivity matrix while keeping the diagonal untouched. However, the algorithm does not seems to converge (?). Instead, I wrote my own function...