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.8.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.8.0-py3-none-any.whl (60.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lightcone_io-0.8.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.8.0.tar.gz
Algorithm Hash digest
SHA256 2a4b45abca97923582061d501177de41680a39f3ee1a95de4485d41db96c16bb
MD5 a2875376cd35c56fced2f8a2068ea40d
BLAKE2b-256 edc51d8052fe7f53194829d3bf4f9884cd413695113a38c286d8758a42fda754

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: lightcone_io-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 60.7 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.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9784c101da8cf805d90320a6b67a5d428126b027ccff062fa10e39326fe4b55e
MD5 65aeb1ebc3d9d5d8e05822f7ec628032
BLAKE2b-256 bf9a4c68831c7d0f00ba744cc95061ae70e99bffc226a4cb76dba16593009b45

See more details on using hashes here.

Provenance

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