Skip to main content

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

Project description

greapy

Python 3.8+ image image image

Forks Stars

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, consider citing:

@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"
}

and

@article{Garcia-Bellido:2021idr,
    author = "Garcia-Bellido, Juan and Espinosa-Portales, Llorenc",
    title = "{Cosmic acceleration from first principles}",
    eprint = "2106.16014",
    archivePrefix = "arXiv",
    primaryClass = "gr-qc",
    reportNumber = "IFT-UAM/CSIC-21-75",
    doi = "10.1016/j.dark.2021.100892",
    journal = "Phys. Dark Univ.",
    volume = "34",
    pages = "100892",
    year = "2021"
}

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.3.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.3-py2.py3-none-any.whl (32.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: greapy-0.3.3.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.3.tar.gz
Algorithm Hash digest
SHA256 9654142ac77883d850a820d90cd826610d686d6b311950a5c32863984c9593d3
MD5 13b2099eccd8454870331797f8f8619a
BLAKE2b-256 950bf3a0ebe03291db2ed3e5d71a7a88f916040edaf918b6174dd8ba302e7d3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for greapy-0.3.3.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.3-py2.py3-none-any.whl.

File metadata

  • Download URL: greapy-0.3.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 32.0 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.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 49f6820752260cd1325342bf86488914ccc2f92739ef78f5d01298c717f3b828
MD5 53116aabd03b1c6a5b7d4dc838535551
BLAKE2b-256 9153a8af553631d15be301aaeecd005bb9eb60fee20ca994b31fefc5ab31952f

See more details on using hashes here.

Provenance

The following attestation bundles were made for greapy-0.3.3-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