readLPIdir: Read LPI result directory

View source: R/readLPIdir.R

readLPIdirR Documentation

Read LPI result directory

Description

Read selected lag-profiles from all data files in LPI output directory.

Usage

 readLPIdir(dpath,recursive=FALSE,lags='all',stdThresh=NULL)

Arguments

dpath

Data file / directory path(s) as a vector of character strings.

recursive

If TRUE, all directories in dpath are searched recursively.

lags

Lag selection. Either a vector of lag numbers, or "all" to read all lags

stdThresh

Standard deviation threshold. Median variance at each range is calculated, and integration periods whose variance is larger than stdThresh times the median at any range gate are stripped off.

Value

A list with the following elements plus everything listed in the "ACF" list stored in the last data file.

'ACF'

An nRange x nLag x nACF array of lag profile matrices

'var'

ACF variance estimates

'time.s'

Timestamps in seconds

'timeString'

Timestamps as character strings.

'nACF'

Number of integration periods.

'nLag'

Number of lags.

'nRange'

Number of range gates.

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.