autopdex.seeder.quasi_random_in_psdf
- autopdex.seeder.quasi_random_in_psdf(psdf, min, max, n_seeds, mode, atol=1e-08, n_init=10000, approx=True)[source]
Generates quasi-random seed points and filters them using psdf.
- Parameters:
psdf (function) – Positive smooth distance function.
min (array) – Minimum coordinates.
max (array) – Maximum coordinates.
n_seeds (int) – Number of seed points.
mode (str) – Sampling mode (‘hammersley’ or ‘halton’).
atol (float, optional) – Absolute tolerance. Defaults to 1e-8.
n_init (int, optional) – Initial number of points for fill ratio estimation. Defaults to 10000.
approx (bool, optional) – Whether to approximate the number of seeds. Defaults to True.
- Returns:
Filtered seed points, number of seeds, and estimated region size.
- Return type:
tuple