encode_signal: Encode signal into Poisson spikes

View source: R/core_functions.R

encode_signalR Documentation

Encode signal into Poisson spikes

Description

The 'code' is just a Poisson spike train for a given group of neurons This function will return a data frame with (group_index,spike_time) columns

Usage

encode_signal(codebook, symbol, signal_power, duration_in_seconds,
  leak_symbols = NA, leak_powers = NA)

Arguments

codebook

constructed using construct_codebook function

symbol

symbol to be encoded

signal_power

spikes per second allocated to signal process

duration_in_seconds

number of time (in seconds) to simulate for – limits max decoding time. Signals not decoded by this time will be interpreted as 'NA'

leak_symbols

vector of symbols to which a 'leak' signal power should be added. Should not include the symbol specified by the 'symbol' parameter

leak_powers

vector of signal powers (spikes/second), to assign to leak symbols. Must be same length as leak_symbols.

Details

Some other stuff here.


tom-christie/transmit documentation built on July 19, 2023, 12:52 p.m.