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.10.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.10.0-py3-none-any.whl (86.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lightcone_io-0.10.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.12

File hashes

Hashes for lightcone_io-0.10.0.tar.gz
Algorithm Hash digest
SHA256 376b4fb14a7ca7a65672c54ad571e34225ecb629ead66d0f3b71296bc86fb901
MD5 b8993cb43f4a4542eefb46360a6f68b3
BLAKE2b-256 7666f161f84098ced20008389deda7eaae78d43a919c51c7d0d65c59edfa3fa6

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for lightcone_io-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d80c8859fd35fc9cf9957dfb326b4e44b55d0d850b2f9c2c9f873b5391b46667
MD5 658f6d2edda39660772661c84c50aa31
BLAKE2b-256 eb03ea67e61ae6c05ab72164ce60936244de1f19b6fbbbf8253d136618008d38

See more details on using hashes here.

Provenance

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