MCPcopy
hub / github.com/mne-tools/mne-python / plot_amplitudes

Method plot_amplitudes

mne/dipole.py:413–428  ·  view source on GitHub ↗

Plot the dipole amplitudes as a function of time. Parameters ---------- color : matplotlib color Color to use for the trace. show : bool Show figure if True. Returns ------- fig : matplotlib.figure.Figure T

(self, color="k", show=True)

Source from the content-addressed store, hash-verified

411 return labels
412
413 def plot_amplitudes(self, color="k", show=True):
414 """Plot the dipole amplitudes as a function of time.
415
416 Parameters
417 ----------
418 color : matplotlib color
419 Color to use for the trace.
420 show : bool
421 Show figure if True.
422
423 Returns
424 -------
425 fig : matplotlib.figure.Figure
426 The figure object containing the plot.
427 """
428 return plot_dipole_amplitudes([self], [color], show)
429
430 def __getitem__(self, item):
431 """Get a time slice.

Callers 1

Calls 1

plot_dipole_amplitudesFunction · 0.85

Tested by 1