Adding Projections from general BRAHMS processes to Populations of Neurons in a ModLIN Systemnw_modAddInput(sys, rate, src, dst, weight, 'path/to/proj', projState, setName);
A ModLIN system consists of 'populations' of rate coded neurons, connected via 'projections'. In order to build a system you must add populations, and then join them with projections.
To add a projection from a non-ModLIN process the sysThis is the name of the SystemML system to add the projection to. rateThe BRAHMS sample rate for the processes in the projection. srcThe BRAHMS process that is source of the projection. srcThe ModLIN destination population for the projection. 'path/to/proj'The BRAHMS Namespace path of a ModLIN projection process. projStateBRAHMS state data to be passed to the projection process. For the input this must include fields srcDims and srcLocs, which specify the dims and locs of the output of the source BRAHMS process. setNameThe set name to use to connect the projection process to the activation process of the destination population. This will determine how the input from the projection is intepreted by the population. For example, with the leaky activation process there are three types of synaptic connection, 'add' is additive (or subtractive if the weight is negative), 'shunt' is multiplicative, and 'shunt_div' is divisive. |