Skip to main content

Module for reading SWIFT lightcone output.

Project description

Lightcone I/O for SWIFT

This is a python module for reading lightcone output from SWIFT simulations.

The source code and issue tracker are hosted on github: https://github.com/jchelly/LightconeIO

Releases are hosted on pypi: https://pypi.org/project/lightcone-io/

For documentation see: https://lightconeio.readthedocs.io/en/latest/

Installation

For read-only use without MPI support, the module can be installed using pip:

pip install lightcone_io

Building the documentation

The documentation is built using sphinx:

pip install sphinx sphinx-rtd-theme sphinx-autodoc-typehints
cd docs
make html

Running unit tests

There are some unit tests which can be run with just

pytest

in the source directory. This will test the classes for reading local HDF5 files containing HEALPix map, particle and halo lightcone data. These tests use downsampled lightcone outputs which are stored in the git repository in tests/data.

To also test access to remote files:

pytest --hdfstream-server=<server_url>

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

lightcone_io-0.6.0.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

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

lightcone_io-0.6.0-py3-none-any.whl (60.2 kB view details)

Uploaded Python 3

File details

Details for the file lightcone_io-0.6.0.tar.gz.

File metadata

  • Download URL: lightcone_io-0.6.0.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lightcone_io-0.6.0.tar.gz
Algorithm Hash digest
SHA256 d5703767c2c69a2d07c6fc99cf325a1282716e6be8044a6ccdc579948dfaf6cf
MD5 15246ddb85d025ee05c8a1e7531a893b
BLAKE2b-256 e1dd040bf419158fab80e83c50c58f630f50ee843f3b5c669e2c2be0220acb7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightcone_io-0.6.0.tar.gz:

Publisher: publish.yml on jchelly/LightconeIO

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

File details

Details for the file lightcone_io-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: lightcone_io-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 60.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lightcone_io-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c5bcacfe3fec94a64f288825db2f1a95a69cd603228d79b6e221080a7f1da53
MD5 95e95e714b9ed56223e9a2cae9774c49
BLAKE2b-256 895f5086df9bf2ae4b4265e7e9f21398805da19909c9d864402ea2c53c1a3bce

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightcone_io-0.6.0-py3-none-any.whl:

Publisher: publish.yml on jchelly/LightconeIO

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