Implements 3D point cloud algorithms for estimation and fitting of shape and density profiles
Project description
|Logo|
CosmicProfiles is a Cython package for Point Cloud Profiling
|Documentation Status| |PyPI| |Build Status|
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
-
works with
-
'direct' datasets (i.e. index catalogue provided by user) and
-
Gadget-style HDF5 snapshot files
- additional velocity dispersion tensor eigenaxes determination
- galaxy density and shape profile determination also works out of the box
-
-
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) -
3D point cloud plotting tools
-
efficient caching capabilities to accelerate look-ups
The documentation can be found here <https://cosmic-profiles.readthedocs.io/en/latest/index.html>
_.
Contributions are welcome. Please raise an issue or open a PR. Comments/recommendations/complaints can be sent here <mailto:tibor.doeme@gmail.com>
_.
.. |PyPI| image:: https://badge.fury.io/py/cosmic_profiles.svg :target: https://badge.fury.io/py/cosmic_profiles .. |Logo| image:: https://cosmic-profiles.readthedocs.io/en/latest/_images/CProfiles.png :target: https://github.com/tibordome/cosmic_profiles :width: 400 .. |Documentation Status| image:: https://readthedocs.org/projects/cosmic-profiles/badge/?version=latest :target: https://cosmic-profiles.readthedocs.io/en/latest/?badge=latest .. |Build status| image:: https://app.travis-ci.com/tibordome/cosmic_profiles.svg?branch=master :target: https://app.travis-ci.com/tibordome/cosmic_profiles .. |alpha_beta_gamma| image:: https://latex.codecogs.com/png.format?\dpi{400}\alpha\beta\gamma :width: 40
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
Hashes for cosmic_profiles-1.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97a248846c772bd2220d4c87a72bd1cf3ce2225bff79500d464e0ceec1ed5b8c |
|
MD5 | ee397934ee27874d21c9e7d61631b8c9 |
|
BLAKE2b-256 | f2617baca0b056dbf2b0e13bb28cbc04c066ddac1a9c0d6864f13c947c1e1df1 |