readLPIdata.gdf: readLPIdata.gdf

View source: R/readLPIdata.gdf.R

readLPIdata.gdfR Documentation

readLPIdata.gdf

Description

Read one integration period of voltage level data stored in gdf format.

Usage

readLPIdata.gdf( LPIparam , intPeriod )

Arguments

LPIparam

An LPI parameter list from LPI.gdf

intPeriod

Integration period number. Integration periods are counted in steps of LPIparam$timeres.s, the period number 1 starting at LPIparam$beginTime.

Details

'LPIparam contents'

Following components of the LPI parameter list are used for selecting the correct signal samples

'startTime'

'beginTime' converted into POSIX format, i.e. second count from 1970-01-01 00:00:00.

'dataStartTimes'

A named vector with components 'RX1', 'RX2', 'TX1', and 'TX2'. Each element is samling time of the first sample of corresponding data type. The times are in seconds in POSIX format.

'dataSampleFreqs'

A named vector with components 'RX1', 'RX2', 'TX1', and 'TX2'. Each element is the sample rate of the corresponding data type in Hz.

'timeRes.s'

Analysis time resolution (incoherent integration period) in seconds.

'dataFileLengths'

A named vector with components 'RX1', 'RX2', 'TX1', and 'TX2'. Each element is the number of complex samples in one data file of the corresponding data type.

'fileNamePrefix'

A named vector with components 'RX1', 'RX2', 'TX1', and 'TX2'. Each element contains the file name prefix of the corresponding data type as a string.

Value

A list with the following contents

'RX1'

First receiver samples.

'RX2'

Second receiver samples. Will be identical with 'RX1' in autocovariance function estimation.

'TX1'

First transmitter samples.

'TX2'

Second transmitter samples. Will usually be identical with 'TX1', but may be different e.g. in orthogonal polarization experiments.

success

TRUE if all requested data was successfully read, FALSE otherwise.

The elements "RX1", "RX2", "TX1", and "TX2" are lists themselves. Their elements are

'cdata'

Complex sample vector

'idata'

Logical vector, TRUE if the sample should be used in LPI.

'ndata'

Number of samples in vectors cdata and idata

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.