We love to use nested sampling with the Event Horizon Telescope (EHT), but it is rather annoying to constantly write the prior transformation. This package will do that for you. It does this by first looking at the types of the distribution and constructing a transformation function.
MORE TO COME
using Distributions
using HypercubeTransform
priors = (a=Normal(0.0 ,5.0), b = Uniform(-10.0, 10.0), c=Product([Cauchy(), Gamma()]))
hc = ascube(priors)
transform(hc, rand(length(priors)))