Skip to content

← visualization package

CortexActivityPlot

Plot estimated brain source activity on a 3d model of a brain in real time.

This node accepts a multi-channel time series, possibly segmented, and always plots the most recent sample. The data is expected to have one channel for every vertex in the head model used for plotting, which can be achieved by using one of the source localization nodes to estimate the source activity (using the same headmodel). This node also provides keyboard shortcuts for changing the color scale (+ and -). Note that this plotter is for streaming data only. Version 0.9.8

Ports/Properties

data

Data to display.

verbose name
Data
default value
None
port type
DataPort
value type
Packet (can be None)
data direction
INOUT

stream

Name of stream to display. Wildcards are supported, i.e. mystream* will select the first stream whose name starts with mystream.

verbose name
Stream To Display
default value
None
port type
StringPort
value type
str (can be None)

stream_name

verbose name
Stream Name
default value
None
port type
AliasPort
value type
str (can be None)

headmodel

Headmodel file to use. If not given, this node will look in the 'headmodel' property of the data, which would usually be written by the initial sourc estimation node in your pipeline.

verbose name
Override Headmodel Filename
default value
None
port type
StringPort
value type
str (can be None)

colormap

Colormap to use for plotting activity.

verbose name
Activity Colormap
default value
Bipolar
port type
EnumPort
value type
str (can be None)

colorscale

Intensity scale for brain activity.

verbose name
Color Scale
default value
0.0001
port type
FloatPort
value type
float (can be None)

title

Title of the plot. This is the title of the plot window.

verbose name
Title Of Plot Window
default value
Time series view
port type
StringPort
value type
str (can be None)

background_color

Background color. This is in hexadecimal (web) notation (#RRGGBB). For instance 00 is zero, 7F is half brightness, and FF is full brightness, so #FF00FF yields a color that is a mix of bright red and blue, i.e., bright purple).

verbose name
Background Color
default value
#FFFFFF
port type
StringPort
value type
str (can be None)

initial_dims

Initial position of the window on the monitor. This is given in pixels, and expressed as [x, y, width, height]. If x, y are both set to 0, the window will appear in the top left corner of the screen.

verbose name
Initial Window Position
default value
[50, 50, 700, 500]
port type
ListPort
value type
list (can be None)

Flag to show the intheon logo in the plot.

verbose name
Show Logo
default value
False
port type
BoolPort
value type
bool (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

verbose name
Set Breakpoint (Debug Only)
default value
False
port type
BoolPort
value type
bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

verbose name
Metadata
default value
{}
port type
DictPort
value type
dict (can be None)