This is A PREVIEW for NEST 3.0 and NOT an OFFICIAL RELEASE! Some functionality may not be available and information may be incomplete!
spin_detector – Device for detecting binary states in neurons¶
The spin_detector is a recording device. It is used to decode and record binary states from spiking activity from a single neuron, or from multiple neurons at once. A single spike signals the 0 state, two spikes at the same time signal the 1 state. If a neuron is in the 0 or 1 state and emits the spiking activity corresponding to the same state, the same state is recorded again. Therefore, it is not only the transitions that are recorded. Data is recorded in memory or to file as for all RecordingDevices. By default, node ID, time, and binary state (0 or 1) for each decoded state is recorded. The state can be accessed from [‘events’][‘weight’].
The spin_detector will record binary state times with full precision from neurons emitting precisely timed spikes.
Any node from which binary states are to be recorded, must be connected to the spin_detector using the Connect command. Any connection weight and delay will be ignored for that connection.
Simulations progress in cycles defined by the minimum delay. During each cycle, the spin_detector records (stores in memory or writes to screen/file) the states during the previous cycle. As a consequence, any state information that was decoded during the cycle immediately preceding the end of the simulation time will not be recorded. Setting the /stop parameter to at the latest one min_delay period before the end of the simulation time ensures that all binary states desired to be recorded, are recorded.
states are not necessarily written to file in chronological order.