autopdex.seeder.just_in_psdf

autopdex.seeder.just_in_psdf(psdf, x_seeds, n_seeds, atol, w_int=None)[source]

Filters seed points based on a positive smooth distance function (psdf).

Parameters:
  • psdf (function) – Positive smooth distance function.

  • x_seeds (array) – Seed points.

  • n_seeds (int) – Number of seed points.

  • atol (float) – Absolute filtering tolerance (functions in the geometry module may produce nans directly at the boundary).

  • w_int (array, optional) – Weights. Defaults to None.

Returns:

Filtered seed points (and weights if provided).

Return type:

array