acoustotreams.AcousticTMatrix.valid_points

AcousticTMatrix.valid_points(grid, radii)[source]

Points on the grid where the expansion is valid.

The expansion of the acoustic wave fields is valid outside of the circumscribing spheres of each object. From a given set of coordinates mark those that are outside of the given radii.

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

  • radii (Sequence[float]) – Radii of the circumscribing spheres. Each radius corresponds to a position of the basis.

Returns:

array