scipy.stats.qmc.PoissonDisk.fill_space#
- PoissonDisk.fill_space()[source]#
Draw
n
samples in the interval[0, 1]
.Unlike
random
, this method will try to add points until the space is full. Depending oncandidates
(and to a lesser extent other parameters), some empty areas can still be present in the sample.Warning
This can be extremely slow in high dimensions or if the
radius
is very small-with respect to the dimensionality.- Returns
- samplearray_like (n, d)
QMC sample.