Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

conda-forge.org : fgivenx

fgivenx is a python package for plotting posteriors of functions. It is currently used in astronomy, but will be of use to any scientists performing Bayesian analyses which have predictive posteriors that are functions. This package allows one to plot a predictive posterior of a function, dependent on sampled parameters. We assume one has a Bayesian posterior `Post(theta|D,M)` described by a set of posterior samples `{theta_i}~Post`. If there is a function parameterised by theta `y=f(x;theta)`, then this script will produce a contour plot of the conditional posterior `P(y|x,D,M)` in the `(x,y)` plane. The driving routines are `fgivenx.plot_contours`, `fgivenx.plot_lines` and `fgivenx.plot_dkl`. The code is compatible with `getdist`, and has a loading function provided by `fgivenx.samples_from_getdist_chains`.

Registry - Source - JSON
purl: pkg:conda/fgivenx
Keywords: astrophysics, astrostatistics, bayesian-inference, cosmology, matplotlib, plotting, statistics
License: MIT
Latest release: over 2 years ago
First release: over 3 years ago
Dependent packages: 1
Dependent repositories: 1
Stars: 16 on GitHub
Forks: 9 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 7 days ago

    Loading...
    Readme
    Loading...