Next: , Previous: , Up: Top   [Contents][Index]


7 Sampling state variables

In addition to direct access to unit state variables in Lua (see get_unit_parameter()), there are two ways to record unit state for offline assessment:

Function: start_listen (C, M, R)

Enable logging of state variables (with options as defined in model parameter listen_mode Models) in all units labelled matching regex R. Return the count of units affected.

Function: stop_listen (C, M, R)

Disable logging of state variables in all units labelled matching regex R. Units writing logs will flush and close. Return the count of units affected.

Function: start_log_spikes (C, M, R)

Enable logging of spike times in all neurons labelled matching regex R. Return the count of units affected.

Function: stop_log_spikes (C, M, R)

Disable logging spikes in all units labelled matching regex R. Return the count of units affected.