Skip to content

← formatting package

SplitStreams

Break up a packet into its constituent streams.

The outputs are matched based on user-settable chunk names, i.e., if the third name argument is 'eeg' and there is a stream in the packet with that stream name, then that value will be output over the third output port of this node. The remainder of the packet, minus the listed streams (if any), is output in the rest port. One may also obtain a list of single-stream packets from the rest_list output port. Version 0.8.0

Ports/Properties

data

Input packet.

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

name1

Name 1.

  • verbose name: Name1
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

out1

Output 1.

  • verbose name: Out1
  • default value: None
  • port type: DataPort
  • value type: AnyNumeric (can be None)
  • data direction: OUT

name2

Name 2.

  • verbose name: Name2
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

out2

Output 2.

  • verbose name: Out2
  • default value: None
  • port type: DataPort
  • value type: AnyNumeric (can be None)
  • data direction: OUT

name3

Name 3.

  • verbose name: Name3
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

out3

Output 3.

  • verbose name: Out3
  • default value: None
  • port type: DataPort
  • value type: AnyNumeric (can be None)
  • data direction: OUT

name4

Name 4.

  • verbose name: Name4
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

out4

Output 4.

  • verbose name: Out4
  • default value: None
  • port type: DataPort
  • value type: AnyNumeric (can be None)
  • data direction: OUT

name5

Name 5.

  • verbose name: Name5
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

out5

Output 5.

  • verbose name: Out5
  • default value: None
  • port type: DataPort
  • value type: AnyNumeric (can be None)
  • data direction: OUT

name6

Name 6.

  • verbose name: Name6
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

out6

Output 6.

  • verbose name: Out6
  • default value: None
  • port type: DataPort
  • value type: AnyNumeric (can be None)
  • data direction: OUT

name7

Name 7.

  • verbose name: Name7
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

out7

Output 7.

  • verbose name: Out7
  • default value: None
  • port type: DataPort
  • value type: AnyNumeric (can be None)
  • data direction: OUT

name8

Name 8.

  • verbose name: Name8
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

out8

Output 8.

  • verbose name: Out8
  • default value: None
  • port type: DataPort
  • value type: AnyNumeric (can be None)
  • data direction: OUT

name9

Name 9.

  • verbose name: Name9
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

out9

Output 9.

  • verbose name: Out9
  • default value: None
  • port type: DataPort
  • value type: AnyNumeric (can be None)
  • data direction: OUT

name10

Name 10.

  • verbose name: Name10
  • default value: None
  • port type: StringPort
  • value type: str (can be None)

out10

Output 10.

  • verbose name: Out10
  • default value: None
  • port type: DataPort
  • value type: AnyNumeric (can be None)
  • data direction: OUT

notfound

Action to take if the specified stream is not found in the packet. If 'error', raise an error. If 'ignore', return None.

  • verbose name: If Not Found
  • default value: ignore
  • port type: EnumPort
  • value type: str (can be None)

rest

Remaining streams.

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

rest_list

Remaining streams as a list.

  • verbose name: Rest List
  • default value: None
  • port type: DataPort
  • value type: list (can be None)
  • data direction: OUT

output

Type of the emitted data. If set to packets, each output is a packet with a single stream. Otherwise only the respective chunks or blocks are returned.

  • verbose name: Output
  • default value: packets
  • 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)