sv2MaskOnePing | R Documentation |
Function to get the segmentation mask of one ping from the Bayesian segmentation method (Holmin et al., 2024)
sv2MaskOnePing(sv, betaN, beta0, beta1, h, c, beams)
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.