in a kernel density estimation the density of a arbitory point in space can be estimated by (wiki):
in sklearn it is possible to draw samples from this distribution:
kde = KernelDensity().fit(z) # fit kde
z_sampled = kde.sample(100) # draw 100 samples
is there an explicit formular to draw samples from such a distribution?