datFilesGetOneChannel-methods: Function to read one channel from a group of dat files

Description Usage Arguments Value

Description

This function returns the data from firstSample to lastSample. 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
5
datFilesGetOneChannel(df, channelNo, firstSample, lastSample)

## S4 method for signature 'DatFiles'
datFilesGetOneChannel(df, channelNo, firstSample,
  lastSample)

Arguments

df

A DatFiles object

channelNo

The channel to retrieve the data from. 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 integer vector containing the data read from the dat files.


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