swc.aeon.schema.streams
Classes for defining data streams and devices.
-
class swc.aeon.schema.streams.Device(name, *args, path=None)[source]
Bases: object
Groups multiple data streams into a logical device.
If a device contains a single stream with the same pattern as the device
name, it will be considered a singleton, and the stream reader will be
paired directly with the device without nesting.
-
name
Name of the device.
- Type:
str
-
args
Data streams collected from the device.
- Type:
Any
-
path
Path to the folder where stream chunks are located.
- Type:
str, optional
-
class swc.aeon.schema.streams.Stream(reader)[source]
Bases: object
Represents a single data stream.
-
reader
The reader used to retrieve the stream data.
- Type:
Reader
-
class swc.aeon.schema.streams.StreamGroup(path, *args)[source]
Bases: object
Represents a logical group of multiple data streams.
-
path
Path to the folder where stream chunks are located.
- Type:
str
-
args
Data streams or data stream groups to be included in this stream group.
- Type:
Any