Hierarchical particle physics data I/O.
Reason this release was yanked:
Tested out new file architecture, now abandoned.
Project description
heparchy
Hierarchical database storage and access for high energy physics event data.
Docstrings are available, markdown documentation coming soon.
Installation
pip install heparchy
Features
- Fast and efficient storage
- Writes and reads from HDF5 files
- Data stored hierarchically
- Files contain processes
- Processes contain events
- Events contain datasets for the final state particles
- Process level metadata can be attached
- Context managers provide access to these containers
Data writing interface
Process
- Metadata writing methods:
string()
: MadGraph formatted string, ie.p p > t t~
decay()
: pdgids of incoming and outgoing particles for the hard eventcom_energy()
signal_id()
: pdgid of the particle of interest in the hard eventcustom()
: extend with your own key / value metadata pair for the process
Events
- Data writing methods for final state particles:
pmu()
: 2dnumpy
array of 4-momenta, each row[px, py, pz, e]
pdg()
: pdgidsis_signal()
: boolean tags identifying if particle constituent of signalcustom()
: extend with your own key / value dataset pair for the event
Coming soon
- Direct interface from HepMC files to HDF5 format
- Jupyter notebook examples
- Pip installation script
Warning: before the first release, the read interface may change to improve consistency with the write interface.
Breaking changes will be avoided following the iminent release of 1.0.0.
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
heparchy-0.2b4.tar.gz
(25.0 kB
view details)
Built Distribution
heparchy-0.2b4-py3-none-any.whl
(24.6 kB
view details)
File details
Details for the file heparchy-0.2b4.tar.gz
.
File metadata
- Download URL: heparchy-0.2b4.tar.gz
- Upload date:
- Size: 25.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5afb9bb54cdb1869f447a4068bb41d84490351054aad873349f62aa292f2c97b |
|
MD5 | 93479a3633a622b94a0d237ccc4e0339 |
|
BLAKE2b-256 | b505b427f7fe271f316084fbb44a6c346c3ef87d180e8b6f0ca6840f38289a5c |
File details
Details for the file heparchy-0.2b4-py3-none-any.whl
.
File metadata
- Download URL: heparchy-0.2b4-py3-none-any.whl
- Upload date:
- Size: 24.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d06e0b44fd0618b665a93daabe94336e5cc908de4553d14c08eddcde38f68204 |
|
MD5 | 19fcecad06de2075dd4fdcc5f6c6d001 |
|
BLAKE2b-256 | 00bc746c641e79be87e2c64498891dbb2f94a27ae9c3d663b9156c9781b6c8e4 |