Skip to main content

Collapse

Project description

Collapsing Cosmology Research Utilities

PyPI version PyPI downloads PyPI versions Build codecov CodeFactor Quality License

The collapse package contains utilities for computing symbolic and numerical expressions related to the time evolution of collapsing cosmologies.

Symbolic Tools

The collapse package makes use of sympy to compute symbolic curvature equations (EFE). Specific Details

Example Computation: FLRW Cosmology

# Load the predefined FLRW metric
from collapse.symbolic import metric, gravity, utilities
flrw = metric.flrw().subs({'c': 1})
flrw

efe_00 = utilities.clean_expr(gravity.einstein_equation(0, 0, flrw))
efe_00

# Can simplify notation using "dots"
metric.simplify_deriv_notation(efe_00, flrw, use_dots=True)

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

collapse-0.2.0.tar.gz (17.4 kB view hashes)

Uploaded Source

Built Distribution

collapse-0.2.0-py3-none-any.whl (23.0 kB view hashes)

Uploaded Python 3

Supported by

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