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
Left: The evaluated density field. Right: The regions classified as voids (shown in white).
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)
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)
| File | Size | Uploaded | |
|---|---|---|---|
| cosmic_web_classifier-1.0.1.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|