Skip to main content

MORS

License Docs codecov Unit Tests Integration Tests

MORS (Model for Rotation of Stars) is the stellar-evolution module of the PROTEUS coupled atmosphere-interior evolution framework. It models the rotational spin-down and high-energy (X-ray, EUV, Lyman-α) emission of low-mass stars over their lifetimes, following the rotation-activity model of Johnstone, Bartel & Güdel (2021).

Given a stellar mass and an initial rotation rate, or an observed rotation percentile, MORS returns the time evolution of the rotation period, the X-ray, EUV and Lyman-α luminosities, and the bolometric luminosity, radius and effective temperature interpolated from stellar-structure tracks. Within PROTEUS it supplies the stellar XUV history that drives atmospheric escape and photochemistry.

Model

MORS evolves the surface rotation of a low-mass star (0.1-1.25 Msun) with a wind-braking spin-down law calibrated to the rotation distributions of open clusters, then maps rotation to activity through the Rossby-number rotation-activity relation: X-ray luminosity first, then EUV and Lyman-α from empirical band scalings. Structural quantities (bolometric luminosity, radius, effective temperature) are interpolated from Spada et al. (2013) evolutionary tracks by default; Baraffe et al. (2015) tracks (0.01-1.40 Msun, no rotation model) are available as an alternative.

Documentation

Full documentation is at proteus-framework.org/MORS, including:

  • Getting started: installation and a quick path to a first run.
  • Tutorial: a first stellar-evolution run and how to read its output.
  • How-to guides: install, evolve a star, read tracks and activity quantities, compute habitable-zone boundaries, run the tests.
  • Explanations: rotation model, X-ray and EUV activity, stellar structure, spectral synthesis, and coupling to PROTEUS.
  • API reference and validation anchors: every public function with NumPy-style docstrings, plus the per-source reference-pinned test inventory.

Installation

pip install fwl-mors

Or, for development:

git clone https://github.com/FormingWorlds/MORS.git
cd MORS
pip install -e .[develop,docs]

The docs extra pulls in Zensical so you can build this documentation locally with zensical serve.

Stellar evolution data

MORS ships without the stellar-evolution tracks, which are fetched from Zenodo (with a DataverseNL mirror as fallback) through fwl-io. Set the FWL_DATA environment variable to the directory where the data should live, then download the tracks:

export FWL_DATA=/your/local/path/FWL_DATA   # add to ~/.bashrc to persist
mors download all

Quick start

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]

See the first-run tutorial for the full walkthrough.

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).

License

MIT License. MORS is part of the PROTEUS framework.

Metadata

Release files for fwl-mors 26.10.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fwl-mors 26.10.6
File Size Uploaded
fwl_mors-26.10.6.tar.gz 1.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for fwl-mors 26.10.6
File Interpreter ABI Platform
fwl_mors-26.10.6-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / fwl_mors-26.10.6.tar.gz

Download URL fwl_mors-26.10.6.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
207e4671707e26185fc9ee3f91e8e63b6be3e9585d588f192811ba31578580f3
BLAKE2b-256 checksum
How to use checksums
69e77c3070d7408895b9bee85caab51828dfa911833396a724971c29db06a02d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.

Transparency log

Release files / fwl_mors-26.10.6-py3-none-any.whl

Download URL fwl_mors-26.10.6-py3-none-any.whl
Size 76.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6743127103e18c3bada873a87e97100f99b9e4b8516897af5452616b0bc26077
BLAKE2b-256 checksum
How to use checksums
3e0e47a841ea47e962ebc1c32b564f5f474598284787f7b6757d45f35b073b12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

26.10.6 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page