Skip to main content

pyAthina

A lightweight PyQt6 + pyqtgraph skeleton for PEEM-style image-stack workflows.

Install

pip install -r requirements.txt

Run

Any of these should work from the extracted project folder:

python -m pyAthina.main
python -m pyAthina
python run_pyAthina.py

If you cd into the pyAthina/ subfolder itself, you can also run:

python main.py

Alignment modes

  • Phase correlation: translation-only drift correction with sub-pixel shift estimation.
  • Image registration: ECC-based registration on the ROI, with the estimated transform applied to the full image.
    • default: sub-pixel translation
    • optional: rotation
    • optional: scale
    • optional: skew

When scale or skew is enabled, the registration model becomes affine.

Z profile improvements

  • live ROI-driven z-profile updates while moving or resizing the ROI
  • standalone popup plot window
  • plot styling controls (grid, markers, line width)
  • export z-profile as TXT (x, y columns)
  • export plot as PNG

Line profile

  • Click Line profile using line ROI.
  • Then press and drag on the image to draw the line.
  • The popup profile updates when you move the line endpoints or change stack layer with the slider.
  • The profile width is controlled by Profile width (px) in the Profiles dock.

Xarray-backed import and axis metadata

The stack import layer creates an xarray.DataArray with dims (z, y, x).

No sample data or synthetic coordinate ranges are enabled by default. When file metadata is missing, pyAthina falls back to:

  • x: pixel index (0 .. nx-1)
  • y: pixel index (0 .. ny-1)
  • z: layer index (0 .. nz-1)

HDF5 metadata parsing helpers are included, but the final mapping of file metadata into domain-specific xarray attrs is intentionally left as a placeholder for user customization. Commented debug snippets remain in the codebase so synthetic data can be re-enabled temporarily when needed.

Metadata

Release files for pyathina 0.1.0

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

Source distribution (sdist)

Source distribution for pyathina 0.1.0
File Size Uploaded Provenance Actions
pyathina-0.1.0.tar.gz 35.7 kB Without provenance Details for pyathina-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyathina 0.1.0
File Interpreter ABI Platform Actions
pyathina-0.1.0-py3-none-any.whl Python 3 none any Details for pyathina-0.1.0-py3-none-any.whl

Total release size: 75.4 kB

Release files / pyathina-0.1.0.tar.gz

Download URL pyathina-0.1.0.tar.gz
Size 35.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8de49558697294702b64af761ae66799eb14049b482569c705455a0c5178c626
BLAKE2b-256 checksum
How to use checksums
09ca2e00fbfff553336ec057dc3936415de9564cb4f84f94d752dd8b3d1eeefa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / pyathina-0.1.0-py3-none-any.whl

Download URL pyathina-0.1.0-py3-none-any.whl
Size 39.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31ec1b88b5c640f5466e01a78e4af4845e95061cdda3605c2c4bca2913568bc9
BLAKE2b-256 checksum
How to use checksums
653b6d15165eebc5f4dd54913abacdf9e753e17b43bc2594ca42871f79a0b148
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Security for pyathina 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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