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.9.0.tar.gz (1.6 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.9.0-py3-none-any.whl (65.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lightcone_io-0.9.0.tar.gz
  • Upload date:
  • Size: 1.6 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.9.0.tar.gz
Algorithm Hash digest
SHA256 093af9be64155be96d0c8dde02fa3e80440e09527cf67aa105ac684a353f5b42
MD5 c0fcbce65a396ae0b0230df9f6723790
BLAKE2b-256 da4dcbf1ce2a44e1394a7ae23c069f4ffbad5d0ba7d337f37f5ef8bed1bded93

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightcone_io-0.9.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.9.0-py3-none-any.whl.

File metadata

  • Download URL: lightcone_io-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 65.3 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.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d1e89d79f7ef4bbf24ddf81dff9c29896062bc15769612353c33b872da13c86d
MD5 e7ac9c3097d4c85300e7e99594558de7
BLAKE2b-256 7b99ac4eeef3f431c140721f57bffa063702ce741c190b2e89e472d2f8d0cda6

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightcone_io-0.9.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