Skip to contents

Deprecated: these accessors now live in PhysioExperiment. The version here delegates to PhysioExperiment::assaySamplingRates() for backward compatibility; new code should call the PhysioExperiment function directly, or use the canonical multi-rate container PhysioExperiment::MultiPhysioExperiment() when streams differ in length.

Usage

assaySamplingRates(x)

Arguments

x

A PhysioExperiment object.

Value

A named numeric vector of per-assay sampling rates (Hz).

Examples

pe <- PhysioExperiment(
  assays = list(raw = matrix(rnorm(100 * 2), nrow = 100, ncol = 2)),
  samplingRate = 100
)
assaySamplingRates(pe)
#> raw 
#> 100