A Python 3 library for the analysis of data produced by AMIGA's Halo Finder (AHF).
Project description
AHFHaloTools
AHFHaloTools is a Python 3 library for the analysis of data produced by AMIGA's Halo Finder (AHF).
Features
- File parsing for
.AHF_halos
,.AHF_profiles
,.AHF_mtree(_idx)
- File truncation
- Analysis of radial profile data
- Analysis of integral properties (halo data)
- Proper tracking of halos through time
- Merger detection
- Analysis of enclosed halos as indicator of host halo kinematics
Dependencies
Installation
pip install ahfhalotools
Documentation
View HTML documentation here
Documentation is also available in docstrings within the
code, which can be viewed using the built-in help
function:
>>> from ahfhalotools.objects import Cluster
>>> help(Cluster)
Help on class Cluster in module ahfhalotools.objects: ...
The majority of analysis is enabled by the ahfhalotools.objects.Cluster
object.
Examples
Example scripts are available in /examples
. These scripts are provided without data, as the data files are large and can't go on GitHub. To run them on a local machine, data must be downloaded and truncated, and the paths to the data in the scripts should be updated to reflect the location of the files.
Alternatively the scripts could be deployed to popia/castor and run there, after updating the directory paths in the code. Data should still be truncated before running, otherwise the scripts will execute very slowly.
AHF documentation
For information on AMIGA's Halo Finder, including documentation and output file formats, you can visit their website here.
Gallery
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
File details
Details for the file ahfhalotools-1.1.1.tar.gz
.
File metadata
- Download URL: ahfhalotools-1.1.1.tar.gz
- Upload date:
- Size: 29.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 798962195b0bca69623996cc0b6aec2f1474c27d44941612ffc6e086cc8dcdca |
|
MD5 | a2da1215adcce27b25a3dbc55af23e6b |
|
BLAKE2b-256 | 2a7a192bc5d20b23f54a6e8af2a5a86b36beca57548f2212c48d2bd09e935897 |
File details
Details for the file ahfhalotools-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: ahfhalotools-1.1.1-py3-none-any.whl
- Upload date:
- Size: 31.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbae9b1ae5c7a32c75f1027d01a57b5095fcebde14f7bc7751482006400491e6 |
|
MD5 | 58308243a1bb8831e7a88e15f2231d1c |
|
BLAKE2b-256 | 5357156a7a4f29e1f9e0078906327d495cb4b2abb73820e249d3f5cee754d739 |