Python code to read halo catalogs and other Abacus N-body data products
Project description
abacusutils
abacusutils is a package for reading and manipulating data products from the Abacus N-body project. In particular, these utilities are intended for use with the AbacusSummit suite of simulations. The package focuses on the Python 3 API, but there is also a language-agnostic Unix pipe interface to some of the functionality.
These interfaces are documented here: https://abacusutils.readthedocs.io
Press the GitHub "Watch" button in the top right and select "Custom->Releases" to be notified about bug fixes and new features!
Installation
The Python abacusutils package is hosted on PyPI and can be installed by installing "abacusutils":
pip install abacusutils
or
pip install abacusutils[all]
For more information, see https://abacusutils.readthedocs.io/en/latest/installation.html.
Usage
abacusutils has multiple interfaces, summarized here and at https://abacusutils.readthedocs.io/en/latest/usage.html.
Specific examples of how to use abacusutils to work with AbacusSummit data will soon be given at the AbacusSummit website: https://abacussummit.readthedocs.io
Python
The abacusutils PyPI package contains a Python package called abacusnbody.
This is the name to import (not abacusutils, which is just the name of the PyPI package).
For example, to import the compaso_halo_catalog module, use
import abacusnbody.data.compaso_halo_catalog
Unix Pipes
The pipe_asdf Python script reads columns from ASDF files and pipes them to
stdout. For example:
$ pipe_asdf halo_info_000.asdf -f N -f x_com | ./client
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file abacusutils-2.1.2.tar.gz.
File metadata
- Download URL: abacusutils-2.1.2.tar.gz
- Upload date:
- Size: 25.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71b1ae66b4558cbc07f01072b35879afa22371ff55d7a2c83dd7e6ec9e38df9a
|
|
| MD5 |
10b5dd411c1653626223e251ae52ede3
|
|
| BLAKE2b-256 |
f8a57a48d8ed6a8ba536230cdc38999f9cee4b11c1a40e704b6b34583d0ac9fd
|
Provenance
The following attestation bundles were made for abacusutils-2.1.2.tar.gz:
Publisher:
tests.yml on abacusorg/abacusutils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
abacusutils-2.1.2.tar.gz -
Subject digest:
71b1ae66b4558cbc07f01072b35879afa22371ff55d7a2c83dd7e6ec9e38df9a - Sigstore transparency entry: 604588638
- Sigstore integration time:
-
Permalink:
abacusorg/abacusutils@30554634bca86d66ef578546a402804491a86135 -
Branch / Tag:
refs/tags/v2.1.2 - Owner: https://github.com/abacusorg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
tests.yml@30554634bca86d66ef578546a402804491a86135 -
Trigger Event:
push
-
Statement type:
File details
Details for the file abacusutils-2.1.2-py3-none-any.whl.
File metadata
- Download URL: abacusutils-2.1.2-py3-none-any.whl
- Upload date:
- Size: 9.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86e2c2003e9acfd6927b35c2e55a97092b74e3880d1c493c27f0ea917a5e947c
|
|
| MD5 |
2078e8c887800c361ae7a6aaee1ed138
|
|
| BLAKE2b-256 |
d3b5f8e2643e1be554e1871071773dccc927e3234e4e74941a039dd363204ce9
|
Provenance
The following attestation bundles were made for abacusutils-2.1.2-py3-none-any.whl:
Publisher:
tests.yml on abacusorg/abacusutils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
abacusutils-2.1.2-py3-none-any.whl -
Subject digest:
86e2c2003e9acfd6927b35c2e55a97092b74e3880d1c493c27f0ea917a5e947c - Sigstore transparency entry: 604588643
- Sigstore integration time:
-
Permalink:
abacusorg/abacusutils@30554634bca86d66ef578546a402804491a86135 -
Branch / Tag:
refs/tags/v2.1.2 - Owner: https://github.com/abacusorg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
tests.yml@30554634bca86d66ef578546a402804491a86135 -
Trigger Event:
push
-
Statement type: