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)
==================
-
In the terminal -
pip install mrexo
-
In the terminal -
pip install git+https://github.com/shbhuk/mrexo.git -U
OR
- In the terminal -
pip install git+ssh://[email protected]/shbhuk/mrexo.git -U
OR
-
In the terminal -
git clone https://github.com/shbhuk/mrexo
-
In the repository directory
python setup.py install
The -U is to upgrade the dependencies.
-
Install Git - Git for Windows
-
Install pip - pip for Windows
-
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
==================
Guidelines to cite this package can be found here.
The relevant paper can be found on ADS.
==================