Implementation of a real-time closed-loop stimulation protocol to study activity codes with flexibility using the Real-Time eXperiment Interface (RTXI). This new and easier-to-use implementation is based on the TCDS protocol and the Victor-Purpura distance.
- input(0) - IV : Weakly electric fish voltage (V)
- output(0) - Now : Task startup time
- output(1) - output : Stimulus enable flag
- output(2) - bit detected : Bit detected within current time window
- Bin Time (ns) - Time window
- Threshold (V) - Minimum voltage to detect a spike
- Word length - Number of bits of the word
- q - Relative sensitivity of the metric to the precise timing of the spikes
- Limit - Victor Purpura distance threshold
- Word - Word to detect