sv2MaskOnePing: Bayesian segmentation method for one ping

View source: R/sv2Mask.R

sv2MaskOnePingR Documentation

Bayesian segmentation method for one ping

Description

Function to get the segmentation mask of one ping from the Bayesian segmentation method (Holmin et al., 2024)

Usage

sv2MaskOnePing(sv, betaN, beta0, beta1, h, c, beams)

Arguments

sv

A matrix of sv (linear values) for one ping.

betaN

A vector of background noise for all beams.

beta0

The lower schooling threshold given in linear value. Suggested value: 1e-5.

beta1

The upper schooling threshold given in linear value. Suggested value: 1e-2.

h

The standard deviation in the Gaussian kernel used to smooth the probability of "not-school". Suggested value: 5.

c

The segmentation threshold. Suggested value: 1e-5.

beams

A list of beam configuration data, enough to apply TVG, as well as number of beams (numb) and lengths of the beams (lenb). This can be read from a .beams file in the TSD format.


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