Voltage_trace module
Functions to plot voltage traces.
-
nest.voltage_trace.from_device(detec, neurons=None, title=None, grayscale=False, timeunit='ms')
Plot the membrane potential of a set of neurons recorded by
the given voltmeter or multimeter.
- Parameters:
detec (list) – Global id of voltmeter or multimeter in a list, e.g. [1]
neurons (list, optional) – Indices of of neurons to plot
title (str, optional) – Plot title
grayscale (bool, optional) – Plot in grayscale
timeunit (str, optional) – Unit of time
- Raises:
nest.kernel.NESTError – Description
-
nest.voltage_trace.from_file(fname, title=None, grayscale=False)
Plot voltage trace from file.
- Parameters:
fname (str or list) – Filename or list of filenames to load from
title (str, optional) – Plot title
grayscale (bool, optional) – Plot in grayscale
- Raises:
ValueError –