find_voxels.TSD: Finds the voxels in which the positions in 'pos' are located....

View source: R/find_voxels.TSD.R

find_voxels.TSDR Documentation

Finds the voxels in which the positions in 'pos' are located. NAs returned for voxels outside of the sonar volume.

Description

Finds the voxels in which the positions in 'pos' are located. NAs returned for voxels outside of the sonar volume.

Usage

find_voxels.TSD(pos, data, arr.ind = FALSE)

Arguments

pos

is a three column matrix of the r, theta, and phi spherical position of the points to locate to voxels.

data

is the list of beam configuration data.

arr.ind

is TRUE to return array indices, in which voxels outside of the sonar volume are indicated by zeros in one oner more of the columns.


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