Next: Sampling state variables, Previous: Individual units, Up: Top [Contents][Index]
CNrun provides for three types of external stimulation sources:
Set up a new tape source named source_name, from data in file file_name.
Set up a new periodic source named source_name, from data in file file_name, optionally looping over a period (stuck at the last value, if not).
Set up a new noise source named source_name, of a given distribution (possible values are "uniform" and "gaussian"), with given min, max, and (for the gaussian) sigma.
Get all sources created in the model, returning labels as strings.
Connect source source_name to parameter P of unit L.
Disconnect a previously connected source source_name from parameter P of unit L.