Skip to main content

"An analysis framework for KM3NeT"

Project description

https://git.km3net.de/km3py/km3pipe/badges/master/pipeline.svg https://git.km3net.de/km3py/km3pipe/badges/master/coverage.svg Codacy Badge https://git.km3net.de/examples/km3badges/-/raw/master/docs-latest-brightgreen.svg https://zenodo.org/badge/24634697.svg

KM3Pipe is a framework for KM3NeT related stuff including MC, data files, live access to detectors and databases, parsers for different file formats and an easy to use framework for batch processing.

The main Git repository, where issues and merge requests are managed can be found at https://git.km3net.de/km3py/km3pipe.git

The framework tries to standardise the way the data is processed by providing a Pipeline-class, which can be used to put together different built-in or user made Pumps, Sinks and Modules. Pumps act as data readers/parsers (from files, memory or even socket connections), Sinks are responsible for writing data to disk and Modules take care of data processing, output and user interaction. Such a Pipeline setup can then be used to iteratively process data in a file or from a stream. In our case for example, we store several thousands of neutrino interaction events in a bunch of files and KM3Pipe is used to stitch together an analysis chain which processes each event one-by-one by passing them through a pipeline of modules.

Although it is mainly designed for the KM3NeT neutrino detectors, it can easily be extended to support any kind of data formats. The core functionality is written in a general way and is applicable to all kinds of data processing workflows.

To start off, run:

pip install km3pipe

If you have Docker (https://www.docker.com) installed, you can start using KM3Pipe immediately by typing:

docker run -it docker.km3net.de/km3pipe

Feel free to get in touch if you’re looking for a small, versatile framework which provides a quite straightforward module system to make code exchange between your project members as easily as possible. KM3Pipe already comes with several types of Pumps, so it should be easy to find an example to implement your owns. As of version 8.0.0 you find Pumps and Sinks based on popular formats like HDF5 (https://www.hdfgroup.org), ROOT (https://root.cern.ch) but also some very specialised project internal binary data formats, which on the other hand can act as templates for your own ones. Just have a look at the io subpackage and of course the documentation if you’re interested!

Read the latest docs at https://km3py.pages.km3net.de/km3pipe.

KM3NeT public project homepage http://www.km3net.org

Acknowledgements

Thanks especially to the gracious help of all contributors:

Tamas Gal, Moritz Lotze, Johannes Schumann, Piotr Kalaczynski, Jonas Reubelt, Michael Moser, Thomas Heid, Alba Domi, Agustin Sanchez Losa, Zineb Aly, Jordan Seneca, Nicole Geisselbrecht, Javier Barrios, Valentin Pestel, Jannik Hofestaedt, Matthias Bissinger, Vladimir Kulikovskiy, Lukas Hennig, Godefroy Vannoye

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

km3pipe-10.0.1.tar.gz (364.4 kB view details)

Uploaded Source

Built Distribution

km3pipe-10.0.1-py2.py3-none-any.whl (203.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file km3pipe-10.0.1.tar.gz.

File metadata

  • Download URL: km3pipe-10.0.1.tar.gz
  • Upload date:
  • Size: 364.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for km3pipe-10.0.1.tar.gz
Algorithm Hash digest
SHA256 5fcc1f7a8090dd7c6bb2e870d9ea2eb7c6ae3849fb6cdb9615ff384fb0ba4e68
MD5 b21db9b24062ce2fe7360031546d0733
BLAKE2b-256 3d41877e5327af52b827c43509dccad85281958532ce8a58eac8384239c3e336

See more details on using hashes here.

File details

Details for the file km3pipe-10.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: km3pipe-10.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 203.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for km3pipe-10.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9a19106d80d0f21052d496a65be133429ed797fdd0f7e0fc6f8a0aecdc43fbee
MD5 2bdd7c7dc0f11df12052c6cbfe91e996
BLAKE2b-256 a000997d4a55dc0bfa3e60c28a98f6272a15960ddf4edc1a0fc7fa2129fe59d9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page