Skip to main content

Nonparametric mass radius relationship for exoplanets

Project description



MRExo

MRExo is a Python script for non-parametric fitting and analysis of the Mass-Radius (M-R) relationship for exoplanets.

We translate Ning et al. (2018)’s R script into a publicly available Python package called MRExo. It offers tools for fitting the M-R relationship to a given data set. Along with the MRExo installation, the fit results from the M dwarf sample dataset from Kanodia et al. (2019) and the Kepler exoplanet sample from Ning et al. (2018) are included. The code also includes predicting functions (M->R, and R->M), and plotting functions to generate the plots used in the below preprint.

For detailed description of the code please see Kanodia et al. (2019)

==================

Installation

Linux/Unix

  1. In the terminal - pip install mrexo

  2. In the terminal - pip install git+https://github.com/shbhuk/mrexo.git -U

OR

  1. In the terminal - pip install git+ssh://git@github.com/shbhuk/mrexo.git -U

OR

  1. In the terminal - git clone https://github.com/shbhuk/mrexo

  2. In the repository directory python setup.py install

The -U is to upgrade the dependencies.

Windows

  1. Install Git - Git for Windows

  2. Install pip - pip for Windows

  3. In cmd or git cmd - pip install git+https://github.com/shbhuk/mrexo.git -U

OR

pip install mrexo

OR

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

To sign up for updates, please join the Google Group linked here - https://groups.google.com/forum/#!forum/mrexo

==================

Citation

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-0.1.4.tar.gz (169.8 MB view hashes)

Uploaded Source

Built Distribution

mrexo-0.1.4-py3-none-any.whl (113.4 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