Skip to main content

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

Project description

abacusutils

Documentation Status PyPI

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. Most of the code is in Python 3, but we also provide some examples of how to interface with C/C++.

Full API documentation: https://abacusutils.readthedocs.io

Installation

The Python portions of abacusutils are hosted on PyPI and can be installed with:

pip install abacusutils

The C/C++ code (e.g. the pack9/ directory) can be downloaded directly by cloning this repository:

git clone https://github.com/abacusorg/abacusutils.git

or by downloading a zip archive of the repository:

wget https://github.com/abacusorg/abacusutils/archive/master.zip

Python Dependencies

The Python dependencies are numpy, asdf (our fork), blosc, astropy, and numba. The only "unusual" dependency is asdf, because we require our fork of the project to be installed (located at: https://github.com/lgarrison/asdf/). Our fork supports blosc compression.

Usage

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

See the full documentation at https://abacusutils.readthedocs.io

Specific examples of how to use abacusutils to work with AbacusSummit data are given at the AbacusSummit website: https://abacussummit.readthedocs.io

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-0.0.2.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

abacusutils-0.0.2-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: abacusutils-0.0.2.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for abacusutils-0.0.2.tar.gz
Algorithm Hash digest
SHA256 77176ee10c067d0022807500a29146a15ef9fd55a721fd871be01b1143831066
MD5 56d7601593e0f245a6813ae6aa9ff391
BLAKE2b-256 29565b76665b3dcaf68dda20fbd9972bdef0315756b8b69d18f90b5a727602bd

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: abacusutils-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 28.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for abacusutils-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b6697f5c4cc6889dd33101a009ba702c3d3f3048cb8b4ea033686e77700698b4
MD5 bc9aa5e943d1a04c5af6261bf5c60ce7
BLAKE2b-256 6e65f36d36529016642573a076e75b6cc38dc1035e1ec753b7c4f84646817a19

See more details on using hashes here.

Provenance

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