This project has been archived by its maintainers, and is no longer receiving any updates.
frameMerge
frameMerge is a lightweight Python package for merging crystallographic detector frames within HDF5 files - supporting both parallel (multiprocessing) and sequential execution.
Installation
You can pull from pypi with pip
pip install frameMerge
Or you can clone the repo and install it locally:
git clone https://github.com/ryan-odea/frameMerge.git
cd frameMerge
pip install .
Usage
You can use frameMerge directly from the command line as:
frameMerge --file-name input.h5 \
--output-file merged.h5 \
--n-frames 5000 \
--n-merged-frames 10 \
--skip-pattern 1 2 \
--data-location entry/data \
--data-name data \
--parallel
or through the Python API
from frameMerge import Merger
m = Merger(
file_name="input.h5",
output_file="merged.h5",
n_frames=5000,
n_merged_frames=10,
skip_pattern=[1, 2],
data_location="entry/data",
data_name="data"
)
m.process(parallel=True)
On the cluster
On clusters, you may find the example.sbatch in this repo useful.
Metadata
Release files for frameMerge 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| framemerge-1.1.0.tar.gz | 7.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| framemerge-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.3 kB
Release files / framemerge-1.1.0.tar.gz
| Download URL | framemerge-1.1.0.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00ecdc253807ec25dad14ddbb052fd3f22815b5218e0f83d40cfdd8145bd4572
|
|
BLAKE2b-256 checksum How to use checksums |
8de78109135b8c5dc6658d55e22ce2f4d976c49a21f7e282ff34bd2056f1d68a
|
| 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 Dec 5, 2025.
Transparency logRelease files / framemerge-1.1.0-py3-none-any.whl
| Download URL | framemerge-1.1.0-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1881a6f0f56006bb3c02ae4295d82148999f063ec19dbb66738784bb31feee2
|
|
BLAKE2b-256 checksum How to use checksums |
5150a8cab86e5c0ea6b4bae780c21bbc5347cd0e2b056de95421eef5e00666fe
|
| 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 Dec 5, 2025.
Transparency log