Skip to main content

RHEED-tools

Reusable Python utilities for RHEED data analysis, visualization, and file I/O.

This package is the base utility layer separated from the real-time analyzer. It is meant to stay independent of instrument control, TSST adapters, feedback policies, and live-loop orchestration.

Package Layout

src/rheed_tools/
  analysis/        # ROI, spot fitting, diffraction metrics, trace/curve analysis
  datasets/        # HDF5 packing/readers and optional DataFed wrappers
  io/              # IMM/video/image/trace loading and export helpers
  visualization/   # notebook/report plotting helpers from archived packages
  signals.py       # reusable 1D filtering, peak, cycle, and tau-fit utilities
  notebook_utils.py
tests/
docs/

Install For Development

pip install -e ".[dev]"

Quick Examples

from rheed_tools.analysis.trace_1d import analyze_rheed_signal
from rheed_tools.datasets import RheedParameterDataset
from rheed_tools.io import load_movie_frames

movie = load_movie_frames("example.imm", every_n=120, fps=30.1)

See USAGE.md for a practical guide to loading frames, analyzing traces, visualizing ROIs, and the boundary between RHEED-tools and sci-viz-utils.

Migration Sources

This package consolidates reusable analysis and notebook utilities from:

  • RHEED_RealTimeAnalyzer analysis/IO modules
  • archived RHEED-Learn curve fitting, signal processing, and visualization helpers
  • archived RHEED_data_collect HDF5 packing, dataset access, DataFed wrappers, and figure layout helpers

Runtime feedback/control, TSST adapters, and policy logic stay in the real-time analyzer package.

Publishing

The GitHub Actions workflow in .github/workflows/main.yml mirrors the release flow used by the real-time analyzer:

  • #major bumps X.0.0
  • #minor bumps x.Y.0
  • #patch bumps x.y.Z

Configure PyPI Trusted Publishing for:

  • Repository: yig319/RHEED-tools
  • Workflow: main.yml
  • Environment name: any / unset

Metadata

Release files for RHEED-tools 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for RHEED-tools 0.2.2
File Size Uploaded
rheed_tools-0.2.2.tar.gz 52.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for RHEED-tools 0.2.2
File Interpreter ABI Platform
rheed_tools-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 118.0 kB

Release files / rheed_tools-0.2.2.tar.gz

Download URL rheed_tools-0.2.2.tar.gz
Size 52.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1da107d4f1452b622ccbd98f9d89328e51ab3caa75cfb6535142e3784fb4f356
BLAKE2b-256 checksum
How to use checksums
39fac1d248fa88f94ce296708e4f0d054cdc43e1b0e0de52647d8926a7bce70a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Apr 26, 2026.

Transparency log

Release files / rheed_tools-0.2.2-py3-none-any.whl

Download URL rheed_tools-0.2.2-py3-none-any.whl
Size 65.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5533295ea5864b0e3ffa84e535b256b151c1938a1d2d2cd9242f8eca78f2af0d
BLAKE2b-256 checksum
How to use checksums
6467c45ca239a9549812a44e9542941ffc9ddb5ff26d5f7a5ab67a1a518fec8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Apr 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page