acoustotreams.AcousticTMatrixC.valid_points

AcousticTMatrixC.valid_points(grid, radii)[source]

Points on the grid where the expansion is valid.

The multipole expansion of acoustic fields is valid outside the circumscribing cylinders of each object. From a given set of coordinates, select those that are outside the cylinders of the given radii.

Parameters:
  • grid (array-like) – Points. The last dimension needs length two or three and corresponds to the Cartesian coordinates.

  • radii (Sequence[float]) – Radii of the circumscribing cylinders. Each radius corresponds to an expansion center of the basis.

Returns:

array