https://github.com/benmaier/cmhrn
Creates modular hierarchical random networks in a fast manner.
https://github.com/benmaier/cmhrn
Last synced: 3 months ago
JSON representation
Creates modular hierarchical random networks in a fast manner.
- Host: GitHub
- URL: https://github.com/benmaier/cmhrn
- Owner: benmaier
- Created: 2016-12-01T12:59:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-21T14:58:57.000Z (over 5 years ago)
- Last Synced: 2024-10-11T11:08:03.855Z (8 months ago)
- Language: C++
- Homepage:
- Size: 65.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cMHRN
For fast creation of modular hierarchical random networks (MHRN)
## Install
For all systems, first clone this repository.
### Matlab (Mac OSX)
You need to have the current XCode version installed (free in AppStore). Open Matlab and change into the directory of the repository. At first, there's two files you need to change.
```matlab
>>> cd /path/to/repository
>>> edit ([matlabroot '/bin/maci64/mexopts/clang++_maci64.xml'])
>>> edit ([matlabroot '/bin/maci64/mexopts/clang_maci64.xml'])
```In both files, copy lines matching occurences of `MacOSX10.x.sdk` and change `MacOSX10.x.sdk` to `MacOSX10.11.sdk`(or whichever current version of XCode you're using).
Now, run
```matlab
>>> setup
>>> cd sandbox
>>> matlab_test
```### Python
$ sudo pip install ./cMHRN
## Example
### Python
$ python sandbox/mhrn_test.py