acoustotreams.AcousticTMatrix.valid_points

AcousticTMatrix.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 spheres of each scatterer. From a given set of coordinates, select those that are outside the spheres of the given radii.

Parameters:
  • grid (array_like) – Points. The last dimension needs length three and corresponds to the Cartesian coordinates.

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

Returns:

array