A Python package for classifying cosmic web structures
Project description
CosmicWebClassifier - A Python package for classifying cosmic web structures
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
Contributors
- Yangyao Chen (USTC, yangyaochen.astro@foxmail.com).
Citation
If you use this package in your research, please cite the following papers:
- Huiyuan Wang et al. 2016, ApJ 831, 164 (https://arxiv.org/abs/1608.01763)
- Yangyao Chen et al. 2020, ApJ, 899, 81 (https://arxiv.org/abs/2003.05137)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ad18e349f523bff1c5955203f860b627f9b37ebd349490b45b702c13af7e577
|
|
| MD5 |
cf90a832017027e423f8f1a34eceb8d0
|
|
| BLAKE2b-256 |
444b370800872e002963f6953ab0fe41624aaa4495e8f3ddf4b3f9b4b62a852c
|
File details
Details for the file cosmic_web_classifier-1.0.1-py3-none-any.whl.
File metadata
- Download URL: cosmic_web_classifier-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c52649740022d40ccea83946401f3e9761dfcd247f4fc56f312bcc2223f78a02
|
|
| MD5 |
a7babf43cf7cce5f9484820f9f4858a0
|
|
| BLAKE2b-256 |
127bb72952849bf61f0e99f7eda76d71e7b0071c361ac7b4bfd1f060bd2cb88a
|