Returns a named numeric vector of sampling rates, one per modality.
Examples
eeg_data <- matrix(rnorm(500 * 2), nrow = 500, ncol = 2)
emg_data <- matrix(rnorm(1000 * 2), nrow = 1000, ncol = 2)
pe_eeg <- PhysioExperiment(
assays = list(raw = eeg_data),
samplingRate = 250
)
pe_emg <- PhysioExperiment(
assays = list(raw = emg_data),
samplingRate = 1000
)
mpe <- MultiPhysioExperiment(EEG = pe_eeg, EMG = pe_emg)
samplingRates(mpe)
#> EEG EMG
#> 250 1000