hdfmaker
Python package to convert PSI Eiger raw files to hdf5 with Bitshuffle+LZ4.
Command line tool
#Usage
raw2hdf5 /path/to/run_master_0.raw /output/path/
raw2hdf5 -h #show usage
Python API
WIP
Data processing
Limitations
The software assumes that files are written with padding in the receiver such that each frame is header+data and no size variation due to packet loss.
Image size
The tool reads raw files from disk and uses row, col information in the frame header in combination with the master fileto figure out the image size.
Gap pixels
-
Inter module gaps are by default set to 0, and marked as true in the pixel mask.
-
Large pixels on the chip borders are split in two (or four) with the counts split between pixels. In the case of an odd number of counts the extra count is randomly assigned to on of the pixels.
File format
- Nexus like hdf5 with Bitshuffle + LZ4
- Readable with Albula 4.x
Master file
The master holds in addition to the pixel mask only links to the data files
HDF5 "test1_0000.h5" {
FILE_CONTENTS {
group /
group /entry
group /entry/data
ext link /entry/data/data_000001 -> test/test1_0000_000000.h5 entry/data/data
group /entry/instrument
group /entry/instrument/data
group /entry/instrument/detector
group /entry/instrument/detector/detectorSpecific
dataset /entry/instrument/detector/detectorSpecific/pixel_mask
}
}
Data file
HDF5 "test1_0000_000000.h5" {
FILE_CONTENTS {
group /
group /entry
group /entry/data
dataset /entry/data/data
}
}
Dependencies
Compatibility
We aim to follow NEP 29 regarding supported Python and Numpy versions https://numpy.org/neps/nep-0029-deprecation_policy.html#nep29
At the moment this means:
- Python 3.9-3.11
- Numpy 1.22-1.24
Metadata
Release files for hdf5maker 2025.10.29
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hdf5maker-2025.10.29.tar.gz | 20.0 kB | With provenance | Details for hdf5maker-2025.10.29.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hdf5maker-2025.10.29-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.17+ x86-64 | Details for hdf5maker-2025.10.29-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| hdf5maker-2025.10.29-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.17+ x86-64 | Details for hdf5maker-2025.10.29-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
Total release size: 99.0 kB
Release files / hdf5maker-2025.10.29.tar.gz
| Download URL | hdf5maker-2025.10.29.tar.gz |
|---|---|
| Size | 20.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e794c1aef80fa03feb4b9ff7f60279f744cbcf3007181e338a35d76722a0ae5
|
|
BLAKE2b-256 checksum How to use checksums |
d554e1cde088571d795386d26af125adfbf4db56e1981c2dbab8a328ff519418
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2025.
Transparency logRelease files / hdf5maker-2025.10.29-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | hdf5maker-2025.10.29-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 39.4 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
7f5a4e4bbe7e4bb302cad82c6363cc448d8a1454949dad9c5d1364fdbc0a8547
|
|
BLAKE2b-256 checksum How to use checksums |
1b8e0b54e72742c4c595d70ff03b26db7b8e49840025ecead8813ba2cec1bf9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2025.
Transparency logRelease files / hdf5maker-2025.10.29-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | hdf5maker-2025.10.29-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 39.6 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
cdf35f3b185d27a5a32290cd79fb2ea23b56f1dc3b59ebed1b2e12ebee28ec06
|
|
BLAKE2b-256 checksum How to use checksums |
27a54d1373987ce61365d8ca7fdc67054edfccaae611d5f852e3b527ef3a2f1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2025.
Transparency logSecurity for hdf5maker 2025.10.29
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 3 files in this release have been uploaded with provenance metadata.
Attestation for hdf5maker-2025.10.29.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.