rlds-cosmo
RLDS-COSMO is the cosmological application layer of the Regime-Limited Dynamical Systems (RLDS) framework. It provides a reproducible high-redshift GRB forecast toolkit for testing the RLDS dark-sector closure against CPL/ΛCDM baselines.
Position in the RLDS software family
rlds-matis the mathematical core: RLDS reduction criteria, auxiliary-function geometry, attractor verification, and stability analysis.rlds-cosmois the first application layer: shooting self-consistency for dark-sector cosmology, high-redshift GRB forecast machinery, and a Cobaya-compatible theory wrapper.
RLDS-MAT DOI: https://doi.org/10.5281/zenodo.20342965
RLDS overview DOI: https://doi.org/10.5281/zenodo.19670133
Headline GRB forecast
For the current RLDS posterior, the package reproduces the high-redshift GRB signature:
- median distance-modulus residual in
4 < z < 8: about −40 mmag over the posterior; - best-fit example: about −32 mmag in
4 < z < 8; - detection forecast at
σ_μ = 0.25 mag: approximately 2.3σ for N_GRB = 200 and >3σ for N_GRB = 500 for the posterior median signal; - Cobaya-compatible theory wrapper for use in standard cosmological pipelines.
The sign convention is
Δμ = μ_CPL+Planck − μ_RLDS
so a negative value means the RLDS prediction is brighter at high redshift than the CPL+Planck counter-fit.
Installation
From a local checkout:
pip install -e .
After PyPI publication:
pip install rlds-cosmo
Quick start
from rlds_cosmo import ShootingRLDS, best_fit_params, predict_grb_residual
model = ShootingRLDS(**best_fit_params())
print(f"Omega_m = {model.Omega_m:.4f}")
print(f"w_eff(z=1) = {model.w_eff(1.0):.5f}")
result = predict_grb_residual(model)
print(f"<Δμ> z=4-8 = {result['avg_4_8_mmag']:+.1f} mmag")
print(f"CPL counter-fit: w0={result['w0_cpl']:+.3f}, wa={result['wa_cpl']:+.3f}")
Expected best-fit-scale output:
Omega_m = 0.2998
w_eff(z=1) = -1.00149
<Δμ> z=4-8 = -32.1 mmag
Command line
rlds-cosmo info
rlds-cosmo quickstart
rlds-cosmo headline --samples 100 --output grb_headline.png
The headline command regenerates the four-panel GRB figure from posterior samples.
What is included
| Module | Purpose |
|---|---|
rlds_cosmo.model |
Core ShootingRLDS cosmology and observables |
rlds_cosmo.posterior |
Bundled posterior chain and propagation helpers |
rlds_cosmo.forecast |
GRB residual forecast and CPL counter-fit machinery |
rlds_cosmo.cobaya_module |
Cobaya Theory plugin |
rlds_cosmo.lcdm |
Reference ΛCDM utilities |
Cobaya integration
theory:
rlds_cosmo.cobaya_module.RLDSTheory:
speed: 50
params:
K: {prior: {min: 0.005, max: 0.25}, ref: 0.012}
H0: {prior: {min: 60.0, max: 75.0}, ref: 67.44}
R_c: {prior: {min: 0.30, max: 0.60}, ref: 0.51}
Delta_R: {prior: {min: 0.03, max: 0.20}, ref: 0.15}
alpha: {prior: {min: 3.01, max: 3.30}, ref: 3.010}
Omega_m_derived: {derived: true}
See examples/02_cobaya_demo.py and examples/rlds_demo.yaml.
Reproducing the GRB figure
python examples/01_grb_headline.py
or, after installation:
rlds-cosmo headline --samples 200 --output grb_headline.png
Runtime depends on the number of posterior samples. A 100–200 sample run is enough for a fast reproducibility check; larger runs are used for publication figures.
Important naming note
The distribution name is:
rlds-cosmo
The Python import name is:
import rlds_cosmo
The import package is intentionally not named rlds, to avoid conflicts with unrelated packages and to mirror the existing rlds_mat core package.
Citing
If you use this code, cite the RLDS overview record:
Kubanski, A. (2026). RLDS dark-sector research program. Zenodo. DOI: 10.5281/zenodo.19670133
When referring to the mathematical core, cite RLDS-MAT:
RLDS-MAT DOI: 10.5281/zenodo.20342965
License
MIT. See LICENSE.
Metadata
Release files for rlds-cosmo 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rlds_cosmo-0.1.0.tar.gz | 1.2 MB | Without provenance | Details for rlds_cosmo-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rlds_cosmo-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for rlds_cosmo-0.1.0-py3-none-any.whl |
Total release size: 2.4 MB
Release files / rlds_cosmo-0.1.0.tar.gz
| Download URL | rlds_cosmo-0.1.0.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e798faffec0ba4fc5b120cdd5df30c8fa1cb034467932bc2778941b2ea843000
|
|
BLAKE2b-256 checksum How to use checksums |
5c12a9c1ba24cbd312aea7519c56f609de1f5ea8b2ba1f973afc0c123565508e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.5
|
Release files / rlds_cosmo-0.1.0-py3-none-any.whl
| Download URL | rlds_cosmo-0.1.0-py3-none-any.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1182e1ff9832a4f183dbaedf74974cf0ee261c3adf85147addc999de0affc211
|
|
BLAKE2b-256 checksum How to use checksums |
8f801580e322c2159168b787c298c2e7d25106256acca00b5bd2834a15c5d3f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.5
|
Security for rlds-cosmo 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.