myoverse.datatypes.EMGData.plot#
- EMGData.plot(representation, nr_of_grids=None, nr_of_electrodes_per_grid=None, scaling_factor=20.0, use_grid_layouts=True)[source]#
Plots the data for a specific representation.
- Parameters:
representation (str) – The representation to plot.
nr_of_grids (int | None, optional) – The number of electrode grids to plot. If None and grid_layouts is provided, will use the number of grids in grid_layouts. Default is None.
nr_of_electrodes_per_grid (int | None, optional) – The number of electrodes per grid to plot. If None, will be determined from data shape or grid_layouts if available. Default is None.
scaling_factor (float | list[float], optional) – The scaling factor for the data. The default is 20.0. If a list is provided, the scaling factor for each grid is used.
use_grid_layouts (bool, optional) – Whether to use the grid_layouts for plotting. Default is True. If False, will use the nr_of_grids and nr_of_electrodes_per_grid parameters.