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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for collapse-0.2.0.tar.gz
Algorithm Hash digest
SHA256 eaeeca77e299a9d31256512618aa3c71b3ce0afcd8c47e21fcc72e88b3ae5f27
MD5 7a6ef83442ed2eda79ef1cfcf6b2d27f
BLAKE2b-256 a94ca7c602e868afde0b1ccce27b39a5bd6e36500368842ac8008ecb5bffc74f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for collapse-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01a949a49a307ceac60b282e9d6f01dea55fc866af59ef14a6868a9773c6858e
MD5 e878a81b8415583ca9b9631dde793265
BLAKE2b-256 bb0fbe5fda714b894ed75e78a265ad05214dd41d932a1ba7a08a2273e1b80449

See more details on using hashes here.

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