Skip to main content

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:

Metadata

Release files for cosmic-web-classifier 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cosmic-web-classifier 1.0.1
File Size Uploaded
cosmic_web_classifier-1.0.1.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cosmic-web-classifier 1.0.1
File Interpreter ABI Platform
cosmic_web_classifier-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.3 kB

Release files / cosmic_web_classifier-1.0.1.tar.gz

Download URL cosmic_web_classifier-1.0.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1ad18e349f523bff1c5955203f860b627f9b37ebd349490b45b702c13af7e577
BLAKE2b-256 checksum
How to use checksums
444b370800872e002963f6953ab0fe41624aaa4495e8f3ddf4b3f9b4b62a852c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.9

Release files / cosmic_web_classifier-1.0.1-py3-none-any.whl

Download URL cosmic_web_classifier-1.0.1-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c52649740022d40ccea83946401f3e9761dfcd247f4fc56f312bcc2223f78a02
BLAKE2b-256 checksum
How to use checksums
127bb72952849bf61f0e99f7eda76d71e7b0071c361ac7b4bfd1f060bd2cb88a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page