Skip to main content

Template synthesis framework for cosmic-ray air showers

Project description

Welcome to the SMIET software!

The SMIET (Synthesis Modelling In-air Emission using Templates) - pronounced "s-meet" - implements the template synthesis algorithm. This framework is used to synthesise the radio emission from cosmic ray air showers using semi-analytical relations extracted from a set of Monte-Carlo showers. It is described in more detail in this publication.

This repository implements the operations necessary to perform the synthesis. We have two versions, one in plain Numpy and another one wrapped in JAX with higher performance. The latter is mostly meant to be used in the context of Information Field Theory.

Citing

If you use this software in a publication, please cite this Zenodo entry.

References

Documentation

The online documentation can be found here.

Installation

The package is written in Python, so in order to use it it is recommended to have virtual environment with the necessary packages. These are specified in the pyproject.toml file, such that the package can be installed using pip as

pip install .

To install the JAX version, you can use the optional jax keyword,

pip install .[jax]

There is also the optional tests keyword, which will install matplotlib.

Dependencies

The lowest Python version with which we tested the package is Python 3.8. It might also work with Python 3.7, there are no big show stoppers in terms of packages.

These are the packages on which the Numpy version relies:

  • radiotools
  • Numpy
  • Scipy
  • h5py
  • typing-extensions

For the JAX version, the following packages will also be installed:

  • jax
  • jaxlib

Usage

After installing the library, you can start by running the scripts in the demo folder to get acquainted with the template synthesis syntax. You can also refer to the documentation.

Support and development

In case of issues, please open an issue in this repository. You are also welcome to open merge requests in order to introduce changes. Any contributions are greatly appreciated!

For other inquiries, please contact mitja.desmet@vub.be or keito.watanabe@kit.edu.

Roadmap

Currently the code contains all the classes necessary to load in sliced shower simulations and perform the template synthesis operations. These include normalisation of the amplitude spectra with respect to the geometry, as well as the arrival time shifts applied to the phase spectra. The next steps are now to:

  1. Add rigorous unit tests
  2. Improve the way in which showers and template information is stored
  3. Add extensive documentation
  4. Achieve parity between the Numpy and JAX versions

Authors and acknowledgment

We appreciate all who have contributed to the project.

  • Mitja Desmet, for the development of the template synthesis algorithm and the Numpy implementation
  • Keito Watanabe, for implementing the JAX version
  • Ruben Bekaert, for suggesting changes to the Numpy interface

License

This repository is licensed under the GPLv3.

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

smiet-0.4.1.tar.gz (6.7 MB view details)

Uploaded Source

Built Distribution

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

smiet-0.4.1-py3-none-any.whl (6.7 MB view details)

Uploaded Python 3

File details

Details for the file smiet-0.4.1.tar.gz.

File metadata

  • Download URL: smiet-0.4.1.tar.gz
  • Upload date:
  • Size: 6.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for smiet-0.4.1.tar.gz
Algorithm Hash digest
SHA256 f8aef10f7b2259d1a27db5cb99f36d382e62bb44b17795166552a41933ca657a
MD5 b146ccacd7df8783d7ff61cc8221d8f7
BLAKE2b-256 dff7dcb2204208c4871a58e723b2e3ea086df143ef81dd52a84bcfb903bd6789

See more details on using hashes here.

File details

Details for the file smiet-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: smiet-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for smiet-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fc10aed8aac51bb852c8b9383165fbe2f47e066afd91a8d10def78bb63b9043a
MD5 7a0be7f7fbe614fb4a83290600dab117
BLAKE2b-256 000841ce807cf7dbf50d376424b79d6cd2dcdcdecbaccf0454619c9ccfb0f728

See more details on using hashes here.

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