Skip to main content

A python-based implementation of the General Relativistic Entropic Acceleration (GREA) theory

Project description

Python 3.8+ image image image

A python-based implementation of the General Relativistic Entropic Acceleration (GREA) theory

General Relativistic Entropic Acceleration is a theoretical framework that offers an alternative explanation for the observed accelerated expansion of the universe through entropic forces, without invoking a cosmological constant or dark energy. GREApy provides the core GREA background cosmology, growth factor computation, a Cobaya theory wrapper for Bayesian parameter estimation, and post-processing utilities for MCMC chains.

Quick start

import numpy as np
from greapy import GREA

# Initialise with default (best-fit) parameters
model = GREA()

# Hubble parameter as a function of redshift
z = np.linspace(0, 2, 100)
H_z = model.H(z)  # km/s/Mpc

# Key derived quantities
print(model.w0)       # effective dark energy equation-of-state today
print(model.rdrag)    # sound horizon at the drag epoch (Mpc)
print(model.alpha)    # GREA alpha parameter

Installation

uv pip install greapy          # recommended
pip install greapy             # alternative

For optional plotting and Cobaya support:

uv pip install "greapy[extra]"
pip install "greapy[extra]"

See the documentation for full installation details.

Citation

If you use GREApy in your research, please cite:

@article{Calderon:2025dhj,
    author = "Calderon, R. and others",
    title = "{Constraining GREA, an alternative theory accounting for the present cosmic acceleration}",
    eprint = "2509.21491",
    archivePrefix = "arXiv",
    primaryClass = "astro-ph.CO",
    reportNumber = "DESI-2024-0464, IFT-UAM/CSIC-25-99, FERMILAB-PUB-25-0737-PPD",
    month = "9",
    year = "2025"
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

greapy-0.3.1.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

greapy-0.3.1-py2.py3-none-any.whl (31.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file greapy-0.3.1.tar.gz.

File metadata

  • Download URL: greapy-0.3.1.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for greapy-0.3.1.tar.gz
Algorithm Hash digest
SHA256 a069bdaf4fdf498d1af67bbe43d5ac876b93f80f73f41f67df797726f3ad7cd6
MD5 b57ea342df4b321fa2d2433960511a92
BLAKE2b-256 bff14830a4041267210215e3a91d126f4ea0bd6b1569aa73951d76bd76db1a2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for greapy-0.3.1.tar.gz:

Publisher: pypi.yml on rcalderonb6/greapy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file greapy-0.3.1-py2.py3-none-any.whl.

File metadata

  • Download URL: greapy-0.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 31.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for greapy-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 72eb2f4ad706ea0c56d13fb95ddffdf70355365428aea6c14333319bd903f58f
MD5 8c3ea254fa144083e83c6ee022f722a5
BLAKE2b-256 1584aefa89b81778f1d45b466cae19552654b01169f5db3b2711431d66e8c12a

See more details on using hashes here.

Provenance

The following attestation bundles were made for greapy-0.3.1-py2.py3-none-any.whl:

Publisher: pypi.yml on rcalderonb6/greapy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page