HypercubeTransform.jl

Author ptiede
Popularity
6 Stars
Updated Last
4 Months Ago
Started In
August 2021

HypercubeTransform

Stable Dev Build Status codecovCode Style: Blue ColPrac: Contributor's Guide on Collaborative Practices for Community Packages

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

Example

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)))