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.0.1.tar.gz (24.9 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file abacusutils-2.0.1.tar.gz.

File metadata

  • Download URL: abacusutils-2.0.1.tar.gz
  • Upload date:
  • Size: 24.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for abacusutils-2.0.1.tar.gz
Algorithm Hash digest
SHA256 e49562cac5e1ea2220b57eb173d3d5015169bddfe5f7939996d8848917ae1d4f
MD5 24dddd6cdccff7e04a531e3b97cd5c03
BLAKE2b-256 23e86e025fc45f75e9ad7ed2bf7f29428d1b49daedb6e7ebc16a4c5e2f6af1cb

See more details on using hashes here.

File details

Details for the file abacusutils-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: abacusutils-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for abacusutils-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8970aef0b65bf987bb47997ea6d5333322227cd8d8ee0e495b820a5625e6260e
MD5 f485823f8c293f2cc66ba63a2f85d743
BLAKE2b-256 78fc1f442113b1721056453a097d24f14e2aa5d5761abd52588db1f416c009a5

See more details on using hashes here.

Supported by

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