eelbrain.plot.SensorMaps
- class eelbrain.plot.SensorMaps(sensors, select=[], proj='default', size=1, color='k', marker='.', frame=0.05, **kwargs)
Multiple views on a sensor layout.
Allows selecting sensor groups and retrieving corresponding indices.
- Parameters:
sensors (Sensor | NDVar) – The
Sensordimension, or anNDVarwith a sensor dimension.proj (str) – Sensor projection for the fourth plot.
size (scalar) – Size for the sensor markers.
color (matplotlib color) – Color for the sensor markers.
marker (str) – Marker for the sensor positions.
frame (scalar) – Size of the empty space around sensors in axes.
... – Also accepts General layout parameters.
Notes
Selecting Sensor Groups:
Dragging with the left mouse button adds sensors to the selection.
Dragging with the right mouse button removes sensors from the current selection.
The ‘Clear’ button (or
clear()) clears the selection.
Methods
|
Draw a horizontal line on one or more axes |
|
Draw a horizontal bar on one or more axes |
|
Draw a vertical line on one or more axes |
|
Draw a vertical bar on one or more axes |
|
Clear the current sensor selection. |
|
Close the figure. |
|
(Re-)draw the figure (after making manual changes). |
|
Draw crosshairs under the cursor |
|
Draw the outline of the figure |
Retrieve the current selection |
|
|
Create FMTXT Image from the figure |
|
Short-cut for Matplotlib's |
|
Set the figure window title |
|
Set the current selection with a list of indices. |
|
Set the label for the x-axis |
|
Rotate every x-axis tick-label by an angle (counterclockwise, in degrees) |
|
Set the label for the y-axis |