getSamplingStartTimes.gdf: getSamplingStartTimes.gdf

View source: R/getSamplingStartTimes.gdf.R

getSamplingStartTimes.gdfR Documentation

getSamplingStartTimes.gdf

Description

Read sampling start times from gdf format data directories

Usage

getSamplingStartTimes.gdf( LPIparam ) 

Arguments

LPIparam

An LPI parameter list from LPI.gdf

Details

Following elements of the LPI parameter list are used in this function.

'dataDir'

A named character vector that contains the data directories for each data type.

'fileNamePrefix'

A named character vector that contains the file name prefixes for each data type.

'fileNameExtension'

A named character vector that contains the file name extensions for each data type.

'dataFileLengths'

A named numeric vector that contains number of samples in a single data file of each data type.

'dataSampleFreqs'

A named numeric vector that contains sample rates of each data type in Hz.

Value

A named vector with elements "RX1","RX2","TX1","TX2", each of which is the sampling time of the first data sample of the corresponding type in POSIX format.

Author(s)

Ilkka Virtanen (University of Oulu, Finland)
ilkka.i.virtanen@oulu.fi


ilkkavir/LPI.gdf documentation built on April 12, 2025, 12:58 p.m.