An open API service indexing awesome lists of open source software.

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.

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