Skip to content

FormingWorlds/MORS

MODEL FOR ROTATION OF STARS (MORS)

MORS CI Test Suite Coverage License PyPI

MORS is a Python package for modelling the rotational spin-down and high-energy (X-ray, EUV, Ly-α) emission evolution of low-mass stars. It implements the model of Johnstone, Bartel & Güdel (2021) and is the stellar evolution model integrated into the PROTEUS framework.

Documentation: https://proteus-framework.org/MORS/

Install

pip install fwl-mors
mors download all

Quickstart

import mors

star = mors.Star(Mstar=1.0, Prot=2.7)  # 1 Msun, initial rotation period at 1 Myr
print(star.Lx(150.0))                  # X-ray luminosity at 150 Myr [erg s-1]

Citation

If you use MORS in published work, please cite:

If you use the model cluster distribution or percentiles, also cite the rotation-measurement sources in Table 1 of Johnstone et al. (2021).

About

Code for stellar properties, rotation, and activity evolution. Originally developed by Colin Johnstone.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors