Skip to main content

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.

Velocity Distribution of Enclosed Halo as a Function of Redshift Velocity Distribution of Enclosed Halo as a Function of Redshift with Skew Plots Local Density times Radius Squared as a function of z and r Local Density times Radius Squared as a function of z and r for select redshifts Local Gas Density as a function of Radius, with quartiles of dynamical state highlighted

Metadata

Release files for ahfhalotools 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ahfhalotools 1.1.1
File Size Uploaded Provenance
ahfhalotools-1.1.1.tar.gz 29.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ahfhalotools 1.1.1
File Interpreter ABI Platform
ahfhalotools-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 60.7 kB

Release files / ahfhalotools-1.1.1.tar.gz

Download URL ahfhalotools-1.1.1.tar.gz
Size 29.6 kB
Tags Source
SHA-256 checksum
How to use checksums
798962195b0bca69623996cc0b6aec2f1474c27d44941612ffc6e086cc8dcdca
BLAKE2b-256 checksum
How to use checksums
2a7a192bc5d20b23f54a6e8af2a5a86b36beca57548f2212c48d2bd09e935897
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ahfhalotools-1.1.1-py3-none-any.whl

Download URL ahfhalotools-1.1.1-py3-none-any.whl
Size 31.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbae9b1ae5c7a32c75f1027d01a57b5095fcebde14f7bc7751482006400491e6
BLAKE2b-256 checksum
How to use checksums
5357156a7a4f29e1f9e0078906327d495cb4b2abb73820e249d3f5cee754d739
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for ahfhalotools 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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