echoIBM.add.noise: Adds noise to an array of sv-values for the ping 'indt',...

Description Usage Arguments

View source: R/echoIBM.add.noise.R

Description

Adds noise to an array of sv-values for the ping 'indt', given the noise data present in 'data'.

Usage

1
2
echoIBM.add.noise(sv, indt, noisetypes = c("bg", "pn", "ms"), data = NULL,
  parlist = list())

Arguments

sv

is an array dimension [lenb,numb] (or a vector of the same length) of sv-values.

indt

is a the time point index, required to pick out the correct seed.

noisetypes

is a vector of character strings of length 2, specifying which types of noise to apply to the data:

data

is the list of beams inputs as returned from read.TSD. For the treatment of noise the following variables are required:

parlist

is a list of input parameters to the noise generation method specified by 'noisetypes'. Use echoIBM_rexp_defaults() to generate defaul values. Must include a seed vector of at least the same length as the maximum indt value to be used.


arnejohannesholmin/echoIBM documentation built on March 19, 2018, 9:16 a.m.