Skip to main content

Python code to read halo catalogs and other Abacus N-body data products

Project description

abacusutils

Abacus Logo

Documentation Status PyPI Tests pre-commit.ci status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

abacusutils-2.1.2.tar.gz (25.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

abacusutils-2.1.2-py3-none-any.whl (9.3 MB view details)

Uploaded Python 3

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

Hashes for abacusutils-2.1.2.tar.gz
Algorithm Hash digest
SHA256 71b1ae66b4558cbc07f01072b35879afa22371ff55d7a2c83dd7e6ec9e38df9a
MD5 10b5dd411c1653626223e251ae52ede3
BLAKE2b-256 f8a57a48d8ed6a8ba536230cdc38999f9cee4b11c1a40e704b6b34583d0ac9fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for abacusutils-2.1.2.tar.gz:

Publisher: tests.yml on abacusorg/abacusutils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for abacusutils-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 86e2c2003e9acfd6927b35c2e55a97092b74e3880d1c493c27f0ea917a5e947c
MD5 2078e8c887800c361ae7a6aaee1ed138
BLAKE2b-256 d3b5f8e2643e1be554e1871071773dccc927e3234e4e74941a039dd363204ce9

See more details on using hashes here.

Provenance

The following attestation bundles were made for abacusutils-2.1.2-py3-none-any.whl:

Publisher: tests.yml on abacusorg/abacusutils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page