maedoc / libtvb

TVB C library
6 stars 8 forks source link

Add CSA like operations to connectivity API #147

Open maedoc opened 8 years ago

maedoc commented 8 years ago

The current interaction between the connectivity and network definitions implies that a network of 100 nodes having homogeneous system with 2 coupling terms and 3 observables would require a connectivity of 200 x 300.

If you wish to have fine grained control over mapping between observales and coupling terms, then great.

Otherwise you want to set a blocked pattern. In other words, if your connectivity is sized 100x100, in this case you'd want to numpy.repeat(C, [2, 3]).

Operations like this and others were fairly well laid out in Djurfeldt 2012, so we could add them to the connectivity API.