getwave: Internal Functions For 'kzpdr', 'kzp2', 'kz.ft', and 'kzrc2'

Description Usage Arguments

Description

A group of internal functions used by kzpdr, kzp2, kz.ft, and kzrc2.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
a2d(a)

agrid(df, scale, math = "mean")

best.cor(rc, sig, ...)

df2mt(df, scale)

efg(f, d, ag)

getwave(df, angle, cp = 0)

getwavf(df, angle, f1, rlvl = 1)

spikes.2d(x.fq, y.spm, nm = 10)

markspikes(x.fq, y.spm, plot = TRUE, ...)

Arguments

a

2D array for position and signal values.

df

Data frame of signal values and positions.

scale

Vector for scale of each dimension. For example, for a x * y grid, the scale is c(1/x, 1/y).

math

Function to aggregate the data. Defaults to "mean".

rc

Array. Reconstructed signal.

sig

Array. Original signal (without noise).

...

Other arguments, i.e. the "cut" threshold, etc.

  • cut : Set the minimum value for a marked frequency spike. Recommend to use argument lvl instead of setting this value directly.

  • lvl : "min" or "max". Threshold strategy for marking frequency spikes. Essentially it will set the "cut" threshold value as different level. "min" is used for cases of weak singles dominating by some strong singles. Defaults to "max".

f

Wave frequency.

d

Wave direction.

ag

Sampling direction.

angle

Direction or vector of directions in radians.

cp

Sampling scheme. Values 0, 2, and others : normal; 1: interpolation; 3: errors

f1

Wave frequency

rlvl

Coefficient to control the averaging level.

x.fq

Vector of frequency values for x axis.

y.spm

Vector of spectrum values for y axis.

plot

If need to add marks on the periodogram. Defaults to TRUE.

angle

Wave direction


kzfs documentation built on June 2, 2019, 5:04 p.m.

Related to getwave in kzfs...