readLPIdata.KAIRA: readLPIdata.KAIRA

View source: R/readLPIdata.KAIRA.R

readLPIdata.KAIRAR Documentation

readLPIdata.KAIRA

Description

Read one integration period of voltage level data. Transmitter samples are recorded with USRP at Tromso and receiver samples with KLP at Kilpisjarvi.

Usage

readLPIdata.KAIRA( LPIparam , intPeriod )

Arguments

LPIparam

An LPI parameter list from LPI.KAIRA

intPeriod

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

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 with elements

'cdata'

Complex data vector.

'idata'

Logical vector, TRUE for samples that should be used in LPI.

'ndata'

Number of samples in the data vectors.

Author(s)

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

See Also

LPI.gdf , LPI


ilkkavir/LPI.KAIRA documentation built on Feb. 6, 2024, 5:47 p.m.