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
flrw = metric.flrw_metric().subs({'c': 1})
flrw

efe_00 = gravity.einstein_equation(0, 0, flrw).doit()
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.1.0.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

collapse-0.1.0-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file collapse-0.1.0.tar.gz.

File metadata

  • Download URL: collapse-0.1.0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for collapse-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e4a8e5b0cc1d85a62d8f7376e40d33a9df93eec0d557a485e0a60600ec841241
MD5 e361909389e19543b83283c492debdfe
BLAKE2b-256 f945f5144af7d3f26636bf1e8978069060404c852f860930ed9cdac88b6934b7

See more details on using hashes here.

Provenance

File details

Details for the file collapse-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: collapse-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for collapse-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9630647b5128bea8df38d22463c94b1968f7739474e4fbd229810871f18b05e1
MD5 7b8849cf47742f067d40064ae6764050
BLAKE2b-256 69012ef290f61bc2b927eaa8c3ec37869894c473973172e2b31b797dc70fa295

See more details on using hashes here.

Provenance

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