superneuromat.SNN.pretty_spike_train#
- SNN.pretty_spike_train(max_steps: int | None = 11, max_neurons: int | None = 28, use_unicode=True)[source]#
Returns a pretty string of the spike train.
- Parameters:
max_steps (int | None, optional) – Limits the number of steps which will be included. If limited, only a total of
max_steps
first and last steps will be included.max_neurons (int | None, optional) – Limits the number of neurons which will be included. If limited, only a total of
max_neurons
first and last neurons will be included.use_unicode (bool, default=True) – If
True
, use unicode characters to represent spikes. Otherwise fallback to ascii characters.