Sampling from continuous distribution

Hello,

you might be interested to take a look at Sampling from energy spectra

Cheers
Chris