Skip to main content

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

PyPI version Downloads
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


Download files

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

Source Distribution

framemerge-0.1.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

framemerge-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

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

Hashes for framemerge-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e873f976cc37d5d98149a018f35584b9cff804f0649aa2b048d48cbae0a5d2e6
MD5 5f655fb6c37ebca6abeacd44273ed573
BLAKE2b-256 3abc2a1dd22b8cf068e76d32a8ad1f5d3929f3d25e5ba620621fa2c5fe95b9dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for framemerge-0.1.0.tar.gz:

Publisher: publish.yml on ryan-odea/frameMerge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for framemerge-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c499d94bd3fa1802f69e88777c66918ed67a2073adc1e5f02e9c551903def1a
MD5 16c7ec1be92f766f037c5aa1be2731b3
BLAKE2b-256 e6253123aef218c7eb5d72e1bc4e7f14aabfbf7e3bdd341d602ed6c6ec1df89e

See more details on using hashes here.

Provenance

The following attestation bundles were made for framemerge-0.1.0-py3-none-any.whl:

Publisher: publish.yml on ryan-odea/frameMerge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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