Skip to main content

Code to open, stitch and z-align roughly and finely SEM images from an ATLAS project

Project description

atlas-cci-align

Utilities for processing SEM image data exported from ATLAS/FIBICS projects.

The package currently focuses on turning an ATLAS project into stitched 2D planes, then roughly aligning those planes into a 3D stack. It provides helpers to:

  • read ATLAS mosaic metadata (.mif) and per-tile TIFF metadata;
  • reconstruct one stitched 2D image per acquisition plane;
  • estimate rough pairwise z-alignment between stitched planes;
  • apply the cumulative alignment into a Zarr array;
  • export the aligned Zarr stack back to a CZI file.

The stitching code uses tile positions, scan rotation, acquisition order, image size, and pixel size from the ATLAS/FIBICS metadata. ATLAS records when tile acquisition is finished, so dynamic/incremental processing should be possible in principle.

Status

This is early packaging work. The rough stitching and z-alignment utilities are being moved from notebooks/scripts into an installable package.

Install

pip install atlas-cci-align

The distribution name is atlas-cci-align, while the Python package is imported as:

import atlas

Minimal Workflow

At a high level, the intended workflow is:

  1. Parse an ATLAS mosaic project and build a tile dataframe.
  2. Stitch tiles into one 2D plane.
  3. Repeat for the planes in the project.
  4. Run rough z-alignment across the stitched planes.
  5. Save the aligned stack as Zarr.
  6. Optionally export the Zarr stack as CZI.

The public API is still being shaped, so consult the modules directly for now:

  • atlas.stitching
  • atlas.alignment
  • atlas.io
  • atlas.image_analysis

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

atlas_cci_align-1.0.1.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

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

atlas_cci_align-1.0.1-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

Details for the file atlas_cci_align-1.0.1.tar.gz.

File metadata

  • Download URL: atlas_cci_align-1.0.1.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for atlas_cci_align-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c16a7aa48e645d8e156a8d4153e5a1d699adac8f17da7e5d8e281ce9c1b0754f
MD5 2a33b8edac068b8bc3c9346ef9c15776
BLAKE2b-256 362031eead1f5ca1a26d43ca80fa45bc38b87d83b4792b83c773f51ac255bec2

See more details on using hashes here.

Provenance

The following attestation bundles were made for atlas_cci_align-1.0.1.tar.gz:

Publisher: release.yml on CCI-GU-Sweden/ATLAS

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

File details

Details for the file atlas_cci_align-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: atlas_cci_align-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 42.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for atlas_cci_align-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 80932b39e151d80be316022c7f5902dfa8a6fe74328d4eee3d2fabbff5a11ed7
MD5 6326e6d04ada00f85f5a162b9376733b
BLAKE2b-256 a67e7f7da99bd1a3f67f9bc8cf9eba20b15519db305a3d3982fabd03bb66e351

See more details on using hashes here.

Provenance

The following attestation bundles were made for atlas_cci_align-1.0.1-py3-none-any.whl:

Publisher: release.yml on CCI-GU-Sweden/ATLAS

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