music_cont_out_proxy – A device which sends continuous data from NEST to MUSIC¶
Description¶
A music_cont_out_proxy
can be used to send continuous data from
neurons over MUSIC to remote applications. It works in a similar fashion like
the multimeter model. The user has to specify the recordable values to observe
(e.g. [V_m
]) via the record_from parameter. The target neurons are specified
by a list of global neuron ids which must be passed via the targets
parameter. The music_cont_out_proxy
will be connected automatically to the
specified target neurons. It is not possible to apply further changes to the
list of target neurons or observed quantities once the simulation has been
started for the first time.
In case of multiple recordables the data can be read out (PyNEST only) of the receiving buffer via the following access pattern:
buffer[ target_node_id_index ][ recordable_index] = buffer[ target_node_id_index * record_from.size() + recordable_index ]
For example: target_node_ids = [ 2, 5, 4 ], record_from = [“V_m”] and
we want to get
V_m
for neuron with node ID 5: buffer[ 1*1 + 0 ]
This model is only available if NEST was compiled with MUSIC.
Parameters¶
The following properties are available in the status dictionary:
interval |
ms |
Recording interval |
targets |
array |
Global id list of neurons to be observed |
port_name |
string |
The name of the MUSIC input port to listen to (default: cont_in) |
port_width |
integer |
The width of the MUSIC input port |
published |
boolean |
A bool indicating if the port has been already published with MUSIC |
record_from |
array |
Array containing the names of variables to record from, obtained from the /recordables entry of the model from which one wants to record |