HypercubeTransform.jl

Author ptiede
Popularity
5 Stars
Updated Last
1 Year Ago
Started In
August 2021

HypercubeTransform

Stable Dev Build Status Coverage Status Code 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)))