Lightweight tool to merge crystallographic frames
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
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)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file framemerge-0.1.0.tar.gz.
File metadata
- Download URL: framemerge-0.1.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e873f976cc37d5d98149a018f35584b9cff804f0649aa2b048d48cbae0a5d2e6
|
|
| MD5 |
5f655fb6c37ebca6abeacd44273ed573
|
|
| BLAKE2b-256 |
3abc2a1dd22b8cf068e76d32a8ad1f5d3929f3d25e5ba620621fa2c5fe95b9dc
|
Provenance
The following attestation bundles were made for framemerge-0.1.0.tar.gz:
Publisher:
publish.yml on ryan-odea/frameMerge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
framemerge-0.1.0.tar.gz -
Subject digest:
e873f976cc37d5d98149a018f35584b9cff804f0649aa2b048d48cbae0a5d2e6 - Sigstore transparency entry: 686453367
- Sigstore integration time:
-
Permalink:
ryan-odea/frameMerge@4a228bef975b6b6150e401216c1f90b0f22818cf -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/ryan-odea
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4a228bef975b6b6150e401216c1f90b0f22818cf -
Trigger Event:
release
-
Statement type:
File details
Details for the file framemerge-0.1.0-py3-none-any.whl.
File metadata
- Download URL: framemerge-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c499d94bd3fa1802f69e88777c66918ed67a2073adc1e5f02e9c551903def1a
|
|
| MD5 |
16c7ec1be92f766f037c5aa1be2731b3
|
|
| BLAKE2b-256 |
e6253123aef218c7eb5d72e1bc4e7f14aabfbf7e3bdd341d602ed6c6ec1df89e
|
Provenance
The following attestation bundles were made for framemerge-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on ryan-odea/frameMerge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
framemerge-0.1.0-py3-none-any.whl -
Subject digest:
8c499d94bd3fa1802f69e88777c66918ed67a2073adc1e5f02e9c551903def1a - Sigstore transparency entry: 686453373
- Sigstore integration time:
-
Permalink:
ryan-odea/frameMerge@4a228bef975b6b6150e401216c1f90b0f22818cf -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/ryan-odea
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4a228bef975b6b6150e401216c1f90b0f22818cf -
Trigger Event:
release
-
Statement type: