bananaplots
A simple tool for making banana plots from several multi-dimensional point datasets.
The term banana here refers to the usual shape of the contours of two feature projection of the datasets. See the gallery to see the graphical motivation.
We’d like a tool to drive matplotlib. Declarative.
The distribution of points are internally modelled with a gaussian mixture model.
Gallery (Plots that shall be able to make)
https://docs.google.com/document/d/13h6d35Ily_QobpCk3xNivwm4WW_b36pTXpNITnFWPOo/edit?usp=sharing
Here is an example code:
https://github.com/bccp/bananaplots/blob/master/bananaplots/tests/test_bananaplots.py#L15
which produces the following two figures.
Notes
This is an ongoing work.
Martin White suggested the project in August of 2016.
Yu Feng discussed the project as an Hack at the AstroHackWeek 2016 with Brigitta Sipocz, Dan Foreman-Mackey, and Jake VanderPlas.
Three major outcomes:
Histograms capture tails much better than mixture of gaussians. We currenlty do not support histograms.
if we can model the MCMC as a mixture of gaussian, then there probably is a easier way to model the likelihood than running MCMC.
In addition, we shall explore a declaritive way of describing a plot that supports more complicated modelling. Vega-Lite does not appear to support this.
The scaffold of the project is roughly based on https://github.com/kbarbary/greeter but we use runtests.py from numpy c.f. https://github.com/kbarbary/greeter/issues/8
Metadata
Release files for bananaplots 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bananaplots-0.0.3.tar.gz | 4.7 kB | Without provenance | Details for bananaplots-0.0.3.tar.gz |
Release files / bananaplots-0.0.3.tar.gz
| Download URL | bananaplots-0.0.3.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ebef96189ef2cc25f230829386c2291ced17f4fb777b0b352e7894b3f6ac715c
|
|
BLAKE2b-256 checksum How to use checksums |
c9e6c473d21553a3f224ef8a3d390e69ea209f1652b5bafe17a37f781ef26858
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for bananaplots 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.