echoIBM.pdns: Calculates the periodic noise for all voxels based on...

View source: R/echoIBM.pdns.R

echoIBM.pdnsR Documentation

Calculates the periodic noise for all voxels based on estimates of the parameters of the periodic noise for ONE SINGLE TIME STEP. The function assumes that the phase is correctly given in data$pns3.

Description

Calculates the periodic noise for all voxels based on estimates of the parameters of the periodic noise for ONE SINGLE TIME STEP. The function assumes that the phase is correctly given in data$pns3.

Usage

echoIBM.pdns(data, indt = NULL, TVG = FALSE, TVG.exp = 2)

Arguments

data

is a list containing beam configuration, and periodic noise parameters. Speficically the following variables must be included: Beams variables: 'sint', 'lenb'; periodic noise variables: 'pns1', 'pns2', 'pns3', 'acfq', 'harm'; and either 'bgns' or 'numb'.

indt

is the time step identifier, which if given selects the phase parameter from the matrix data$pn3M.

TVG

is TRUE if TVG should be added to the periodic noise.

TVG.exp

is the exponent of the eamotric spreading of the sound wave, theoretically 2 for Sv and 4 for TS.


arnejohannesholmin/sonR documentation built on April 14, 2024, 11:39 p.m.