CompoundPye
0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
|
Provides functions to plot outputs of a single detector unit. More...
Functions | |
def | plot |
Plot output of a single detector unit. More... | |
Provides functions to plot outputs of a single detector unit.
def CompoundPye.src.Plotting.single_detector_plot.plot | ( | data, | |
tlim = None , |
|||
plot_args = [] , |
|||
plot_kw_args = {} |
|||
) |
Plot output of a single detector unit.
Creates a figure and several axis (sub plots). Designed to plot outputs of all elements of a Hassenstein-Reichardt-Detector. That is, 2 Sensors, 2 input filter, 2 low-pass filter, 2 high-pass filter, 2 multiplication units, 1 subtraction unit.
data | Array of outputs. Should have 11 elements in the first dimension (one row for each element of the detector), and an arbitrary number of elements in the second dimension (== number of time steps). |
tlim | Specifies the index of the last time step that should be included in the plot. |
plot_args | List of arguments that is passed on to pyplot's plot function. |
plot_kw_args | Dictionary of keyword arguments that is passed on to pyplot's plot function. |