datFilesGetChannels-methods: Function to read from several channels from a group of dat...

Description Usage Arguments Value

Description

This function returns the data from firstSample to lastSample for a group of channels. If firstSample and lastSample have a length greater than 1, the data chunks will be pasted one after the other in the data returned by the function.

Usage

1
2
3
4
datFilesGetChannels(df, channels, firstSample, lastSample)

## S4 method for signature 'DatFiles'
datFilesGetChannels(df, channels, firstSample, lastSample)

Arguments

df

A DatFiles object

channels

Numeric indicating which channels are needed. The first channelNo in the file is 0.

firstSample

Numeric vector containing the first sample to retrieve. You can give several if you want to get a series of data chunks. First sample in the file is 0

lastSample

Numeric vector containing the last sample to retrieve. You can give several if you want to get a series of data chunks. Index stats at 0

Value

A matrix containing the data, one channel per column.


kevin-allen/relectro documentation built on May 20, 2019, 9:06 a.m.