plot_entropy_decrease_trace: Plots spikes and an entropy trace for a single transmitted...

View source: R/plot_entropy_decrease_trace.R

plot_entropy_decrease_traceR Documentation

Plots spikes and an entropy trace for a single transmitted signal.

Description

Optionally save the result to file.

Usage

plot_entropy_decrease_trace(symbols = c("A", "B", "C", "D"),
  symbol_to_transmit = "A", signal_power = 3, noise_power = 3,
  max_stop_time_in_seconds = 5, min_stop_time_in_seconds = 3,
  duration_in_seconds = 50, entropy_threshold = 0.3, file_path = NA)

Arguments

symbols

vector of character symbols

symbol_to_transmit

Symbol that signal power should be allocated to

signal_power

spikes per second for signal power

noise_power

spikes per second for noise power

max_stop_time_in_seconds

search until the stop_time is between max and min

min_stop_time_in_seconds

search until the stop_time is between max and min

duration_in_seconds

seconds to simulate for - should be highish

entropy_threshold

stopping_threshold. Should be > log2(length(symbols))

file_path

optional file path for saving the generated lot

Value

list with three elements, (1) signal_plus_noise, (2) decoded signal with entropy trace, (3) generated plot


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