Skip to main content

A Python package for classifying cosmic web structures

Project description

CosmicWebClassifier - A Python package for classifying cosmic web structures

Last commit Workflow Status MIT License PyPI

The package provides a set of tools to compute the density and tidal field from a sample of particles (usually obtained by N-body/hydrodynamical simulations), and classify the cosmic web structures into knots, filaments, sheets and voids based on the fields.

To install, run:

pip install cosmic-web-classifier

Alternatively, you can clone the repository and install the package locally via pip install -e /path/to/the/repo.

Usage

See the Jupyter notebooks under docs/.

  • cosmic_web_types.ipynb: demonstrates how to generate a sample of dark matter particles from a particle-mesh code, and perform the classification based on the particle distribution.

Example images

Left: The evaluated density field. Right: The regions classified as voids (shown in white).

Contributors

Citation

If you use this package in your research, please cite the following papers:

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

cosmic_web_classifier-1.0.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

cosmic_web_classifier-1.0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file cosmic_web_classifier-1.0.1.tar.gz.

File metadata

  • Download URL: cosmic_web_classifier-1.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for cosmic_web_classifier-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1ad18e349f523bff1c5955203f860b627f9b37ebd349490b45b702c13af7e577
MD5 cf90a832017027e423f8f1a34eceb8d0
BLAKE2b-256 444b370800872e002963f6953ab0fe41624aaa4495e8f3ddf4b3f9b4b62a852c

See more details on using hashes here.

File details

Details for the file cosmic_web_classifier-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cosmic_web_classifier-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c52649740022d40ccea83946401f3e9761dfcd247f4fc56f312bcc2223f78a02
MD5 a7babf43cf7cce5f9484820f9f4858a0
BLAKE2b-256 127bb72952849bf61f0e99f7eda76d71e7b0071c361ac7b4bfd1f060bd2cb88a

See more details on using hashes here.

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