bionet.utils.plotting.plot_signal

bionet.utils.plotting.plot_signal(t, u, fig_title='', file_name='')

Plot a signal.

Parameters:

t : ndarray of floats

Times (in s) at which the signal is defined.

u : ndarray of floats

Signal samples.

fig_title : string

Plot title.

file_name : string

File in which to save the plot.