View source: R/core_functions.R
transmit_signal | R Documentation |
Helper function to encapsulate function calls for a 'signal transmission' event
transmit_signal(codebook, symbol, signal_power, noise_power,
duration_in_seconds, prior_distribution = c(), time_interval = 0.1,
entropy_threshold = 0.1, return_posterior_at_stop_time = FALSE,
return_posterior_trace = FALSE, leak_symbols = NA,
leak_powers = NA)
codebook |
constructed using construct_codebook function |
symbol |
symbol to transmit. Must be defined in the codebook. |
signal_power |
spikes per second allocated to signal process |
noise_power |
spikes per second allocated to every process (including 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' |
prior_distribution |
initial guess at the distribution of messages. Influences decoding times. |
time_interval |
the interval at which to perform inference |
entropy_threshold |
transmission stops after entropy reaches this threshold |
return_posterior_at_stop_time |
returns posterior values at stop time |
return_posterior_trace |
return trace of posterior values for every time step |
leak_symbols |
array of symbols 'accidentally' allocated signal power |
leak_powers |
array of signal powers to allocated to leak_symbols |
returns which symbol is decided plus response time and which symbol was sent
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.