MCPcopy Create free account
hub / github.com/BindsNET/bindsnet / plot_spikes

Method plot_spikes

bindsnet/analysis/pipeline_analysis.py:60–74  ·  view source on GitHub ↗

Plots all spike records inside of ``spike_record``. Keeps unique plots for all unique tags that are given. :param spike_record: Dictionary of spikes to be rasterized. :param tag: A unique tag to associate the data with. :param step: The step of the pipeline.

(
        self,
        spike_record: Dict[str, torch.Tensor],
        tag: str = "spike",
        step: int = None,
    )

Source from the content-addressed store, hash-verified

58
59 @abstractmethod
60 def plot_spikes(
61 self,
62 spike_record: Dict[str, torch.Tensor],
63 tag: str = "spike",
64 step: int = None,
65 ) -> None:
66 # language=rst
67 """
68 Plots all spike records inside of ``spike_record``. Keeps unique
69 plots for all unique tags that are given.
70
71 :param spike_record: Dictionary of spikes to be rasterized.
72 :param tag: A unique tag to associate the data with.
73 :param step: The step of the pipeline.
74 """
75
76 @abstractmethod
77 def plot_voltages(

Callers 3

test_plot_runsMethod · 0.45
plotsMethod · 0.45
plotsMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_plot_runsMethod · 0.36