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 Travis (.org)

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 abacusutils package is hosted on PyPI and can be installed by installing "abacusutils" and our fork of the ASDF library with the following command:

pip install git+https://github.com/lgarrison/asdf.git abacusutils

The C/C++ code (coming soon!) 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.1.0.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

abacusutils-0.1.0-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for abacusutils-0.1.0.tar.gz
Algorithm Hash digest
SHA256 707cfca759e1eae527b0c27fb120df6aed1dfb276ad214c72b1f7cb1d01719e8
MD5 b3e0396dc733ea5fbc47a5eec42e135a
BLAKE2b-256 a54d5a022ae5b53ed5469bd6cfb1cc0f32feb1549f235528b6a634f653a7e1d6

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: abacusutils-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 30.7 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/47.3.1.post20200616 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for abacusutils-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e16982587430f4ab279b3f1511f1eb715b47653bf338ba514cc822e0725c9c61
MD5 2552611bc2751f3e6595b7d9fc26602a
BLAKE2b-256 9140d885b78648eb8b108d2a2602e126210c5ee0493576fff7e4db17e1ca593c

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