Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 2.93 KB

index.rst

File metadata and controls

65 lines (46 loc) · 2.93 KB

making Bayesian modelling easy(er)

:pyuravu is about the relationship between some data and a function that may be used to describe the data.

The aim of :pyuravu is to make using the amazing Bayesian inference libraries that are available in Python as easy as scipy.optimize.curve_fit. Therefore enabling many more to make use of these exciting tools and powerful libraries. Plus, we have some nice plotting functionalities available in the :py~uravu.plotting module, capable of generating publication quality figures.

An example of the type of figures that uravu can produce. Showing straight line distribution with increasing uncertainty.

In an effort to make the :pyuravu API friendly to those new to Bayesian inference, :pyuravu is opinionated, making assumptions about priors amoung other things. However, we have endevoured to make it straightforward to ignore these opinions.

In addition to the library and API, we also have some basic tutorials discussing how Bayesian inference methods can be used in the analysis of data.

:pyuravu is under active development, more details of which can be found on Github.

Bayesian inference in Python

There are a couple of fantastic Bayesian inference libraries available in Python that :pyuravu makes use of:

Where :pyfunction is some user-defined function, :pyabscissa is x-data, :pyordinate is y-data, and :pyordinate_error is y-uncertainty, getting an :pyuravu.relationship.Relationship running is as simple as.

from uravu.Relationship import Relationship

modeller = Relationship(function, abscissa, ordinate, ordinate_error=ordinate_error)
modeller.max_likelihood()
modeller.mcmc()
modeller.nested_sampling()

installation getting_started.ipynb tutorials faq api

Searching

  • genindex
  • modindex
  • search