Mondaic
This API reference is not for the latest stable Salvus version.

salvus.project.domain.utils

Domain utilities.

Functions

points_outside_domain()

def points_outside_domain(
    bounds: DomainBounds, p: npt.NDArray[np.float64]
) -> npt.NDArray[np.bool_]: ...

Return all points which are outside of the domain bounds.

Parameters
  • bounds DomainBounds — The domain bounds.
  • p npt.NDArray[np.float64] — The points to test.
Returns npt.NDArray[np.bool_]