Skip to contents

Validated stream metadata

Usage

# S4 method for class 'StreamInfo'
show(object)

Arguments

object

A StreamInfo object to display.

Slots

name,type,source_id,clock_domain

Scalar stream identity strings.

n_channels

Exact positive channel count.

channel_names,channel_units

Channel labels and optional units.

nominal_srate

Nominal samples per second; zero denotes an irregular stream reserved for later transports.

dtype

Exact storage type.

metadata

Named recursively serializable metadata.

schema_version

Metadata schema identifier.

Examples

info <- streamInfo("eeg-demo", type = "EEG",
                   channel_names = c("C3", "C4"), nominal_srate = 250)
info
#> StreamInfo<1.0.0>: eeg-demo
#>   type: EEG; channels: 2; rate: 250 Hz; dtype: float64