Skip to main content

Logo

CosmicProfiles is a Cython package for Point Cloud Profiling

Build status Platforms

The CosmicProfiles project

This repository provides shape and density profile analysis tools for cosmological simulations (and beyond). Its features include

  • overall halo shape determination, i.e. major, intermediate, minor axis vectors and shape quantities such as intermediate-to-major axis ratio or sphericity

  • halo shape profile determination

    • iterative shell-based shape profile determination algorithm for high-resolution halos

    • iterative ellipsoid-based shape profile determination algorithm for lower-resolution halos

    • user can choose between reduced shape tensor and non-reduced shape tensor

  • supports

    • ‘direct’ datasets (i.e. index catalogue provided by user) and

    • FoF / SUBFIND halo catalogues

    • Gadget-style I, II and HDF5 snapshot files

      • all functionalities available for dark matter halos, gas particle halos and star particle halos

      • in addition, allows for velocity dispersion tensor eigenaxes determination

  • halo density profile estimation using direct binning and kernel-based approaches

    • user can choose between direct binning into spherical shells and

    • direct binning into ellipsoidal shells

  • density profile fitting assuming either NFW, Hernquist 1990, Einasto or alpha-beta-gamma profile model

    • concentration-mass relationship of halos easy to calculate

  • mock halo generator: ellipsoidal or spherical, compatible with the 4 density profile models

  • easy to interface with pynbody to work with halos identified in a cosmological simulation (see example scripts)

  • easy to interface with nbodykit to harness large-scale structure capabilities (see example scripts)

  • various profile plotting and 3D point cloud plotting tools

  • efficient caching capabilities to accelerate look-ups

Documentation

Documentation Status

The documentation for CosmicProfiles is hosted on Read the Docs.

Installation and Dependencies

PyPI Name Downloads Version

The easiest way to get CosmicProfiles is to install it with conda using the conda-forge channel:

conda install cosmic_profiles --channel conda-forge

Alternatively, you can use pip:

pip install cosmic-profiles

See the installation instructions in the documentation for more information.

License

License

Copyright 2020-2023 Tibor Dome.

CosmicProfiles is free software made available under the MIT License.

Contributions are welcome. Please raise an issue or open a PR.

Metadata

Release files for cosmic-profiles 1.4.0

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-profiles 1.4.0
File Size Uploaded
cosmic_profiles-1.4.0.tar.gz 1.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for cosmic-profiles 1.4.0
File Interpreter ABI Platform
cosmic_profiles-1.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details

Total release size: 4.8 MB

Release files / cosmic_profiles-1.4.0.tar.gz

Download URL cosmic_profiles-1.4.0.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
66c16c8baf783c281c8b29f3317596982bc788f8f8806488f3f5c3eb451b2c2c
BLAKE2b-256 checksum
How to use checksums
ea841bdd83cf472fd75bff0865a488212cc10ee1f369e6a3a52d4d30f59733c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

Release files / cosmic_profiles-1.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cosmic_profiles-1.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.4 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
339e37cdff9af1ffb7f6eb4f79c4fd98388652d19fc34be5c0c0f280aab6c6b4
BLAKE2b-256 checksum
How to use checksums
6c5dc68506904f6da6883dad2445f9ca410034f17882ff0109dd1446655479af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

Release history Release notifications | RSS feed

This release

1.4.0 This release

2 release files

1.3.1

2 release files

1.3.0

1 release file

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

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