Skip to content

← formatting package

MergeStreams

Merge the streams in the given packets into one packet that contains all streams.

A data packet in NeuroPype can contain one or more named streams, whether they are signal streams (i.e., EEG) or marker streams (events). This node will merge the streams carried by all inputs into one packet. If a stream is encountered whose name is already in the packet, then a sequentially numbered name will be generated (as in eeg-1, eeg-2, etc.). Note that this node does not combine streams into a single stream, but rather places the streams in the same packet. To combine markers from multiple marker streams into a single stream, follow this node with FuseMarkerStreams. To combine data from multiple signal streams into a single stream, see ConcatInputs or FuseStreams (note that this is only possible under certain circumstances; see those nodes' documentation for details). Version 1.0.0

Ports/Properties

data1

Input data 1.

verbose name
Data1
default value
None
port type
DataPort
value type
Packet (can be None)
data direction
IN

data2

Input data 2.

verbose name
Data2
default value
None
port type
DataPort
value type
Packet (can be None)
data direction
IN

data3

Input data 3.

verbose name
Data3
default value
None
port type
DataPort
value type
Packet (can be None)
data direction
IN

data4

Input data 4.

verbose name
Data4
default value
None
port type
DataPort
value type
Packet (can be None)
data direction
IN

data5

Input data 5.

verbose name
Data5
default value
None
port type
DataPort
value type
Packet (can be None)
data direction
IN

data6

Input data 6.

verbose name
Data6
default value
None
port type
DataPort
value type
Packet (can be None)
data direction
IN

data7

Input data 7.

verbose name
Data7
default value
None
port type
DataPort
value type
Packet (can be None)
data direction
IN

data8

Input data 8.

verbose name
Data8
default value
None
port type
DataPort
value type
Packet (can be None)
data direction
IN

data9

Input data 9.

verbose name
Data9
default value
None
port type
DataPort
value type
Packet (can be None)
data direction
IN

data10

Input data 10.

verbose name
Data10
default value
None
port type
DataPort
value type
Packet (can be None)
data direction
IN

dataN

Additional input data.

verbose name
Datan
default value
None
port type
DataPort
value type
list (can be None)
data direction
IN

outdata

Data to process.

verbose name
Outdata
default value
None
port type
DataPort
value type
Packet (can be None)
data direction
OUT

replace_if_exists

Replace streams if they already exist.

verbose name
Replace If Exists
default value
False
port type
BoolPort
value type
bool (can be None)

sorting

Sorting order of chunks in the packet.

verbose name
Sorting
default value
input
port type
EnumPort
value type
str (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)