ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2504.008] Spright: Bayesian mass-radius relation for small planets

Spright predicts planetary masses, densities, and radial velocity semi-amplitudes given a small planet's radius or planetary radii given the small planet's mass. The package contains two relations: one for small planets orbiting M dwarfs and another for planets orbiting FGK stars. The radial velocity semi-amplitude can be predicted given the planet's radius, orbital period, orbital eccentricity (optional), and the host star mass. Spright offers both a command line script and a set of Python classes. The command line script can directly create publication-quality plots, and the classes offer a full access to the predicted numerical distributions.

Code site:
https://github.com/hpparvi/spright
Used in:
https://ui.adsabs.harvard.edu/abs/2025ApJ...980..179S
Described in:
https://ui.adsabs.harvard.edu/abs/2024MNRAS.527.5693P
Bibcode:
2025ascl.soft04008P

Views: 17

ascl:2504.008
Add this shield to your page
Copy the above HTML to add this shield to your code's website.