density

gammapy.utils.random.density(func)[source]

Radial surface density of a given one dimensional PDF.