Skip to main content

A Python code for the non-parametric and probabilistic fitting of planetary and other samples in mass-radius and higher dimensions

Project description



MRExo is a Python package to jointly model distributions beyond two dimensions. Our updated framework can now simultaneously model up to four observables, while also incorporating asymmetric measurement uncertainties and upper limits in the data.

We build upon the 2-dimensional nonparametric framework utilizing beta density functions as the basis set for density estimation to perform simultaneous density estimation in up to 4-dimensions.

For detailed description of the code please see Kanodia et al. (2019) for the original and Kanodia et al. (2023) for the updated version.

Documentation can be found here.




  1. In the terminal - pip install mrexo

  2. In the terminal - pip install git+ -U


  1. In the terminal - pip install git+ssh:// -U


  1. In the terminal - git clone

  2. In the repository directory python install

The -U is to upgrade the dependencies.


  1. Install Git - Git for Windows

  2. Install pip - pip for Windows

  3. In cmd or git cmd - pip install git+ -U


pip install mrexo


Clone or Download the zip file and then in the repository directory python install

To sign up for updates, please join the Google Group linked here -!forum/mrexo



Guidelines to cite this package can be found here.

The relevant paper can be found on ADS.


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mrexo-1.1.5.tar.gz (74.7 MB view hashes)

Uploaded Source

Built Distribution

mrexo-1.1.5-py3-none-any.whl (74.9 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page