Skip to main content

A Python package for reading IMOD etomo alignment files into pandas DataFrames

Project description

etomofiles

License PyPI Python Version CI codecov

A Python package for reading IMOD etomo alignment files into pandas DataFrames.

Overview

etomofiles provides a way to extract metadata from etomo alignment directories and convert them into structured pandas DataFrames.

Requirements

  • Python ≥ 3.10
  • numpy ≥ 1.19.0
  • pandas ≥ 1.3.0
  • mrcfile ≥ 1.3.0

Quick Start

import etomofiles
from pathlib import Path

# Read etomo alignment data
df = etomofiles.read("/path/to/etomo/directory")

print(df.head())

DataFrame Columns

The resulting DataFrame contains the following columns:

Column Description
image_path Path to specific image in tilt series (e.g., TS_001.st[0])
idx_tilt Index of the tilt image (0-based)
tilt_axis_angle Tilt axis rotation angle (degrees)
rawtlt Raw tilt angle (degrees)
tlt Corrected tilt angle (degrees)
xtilt Tilt around x-axis
xf_a11, xf_a12, xf_a21, xf_a22, xf_dx, xf_dy xf transformation matrix elements
excluded Boolean indicating if view was excluded

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

etomofiles-0.1.0.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

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

etomofiles-0.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file etomofiles-0.1.0.tar.gz.

File metadata

  • Download URL: etomofiles-0.1.0.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for etomofiles-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1845dbca4afa5c9a0a66cfcbf88638d38e65703f830221034298166b940bc7f3
MD5 30827e14e4cb7778996b42705293d90c
BLAKE2b-256 aa0dd50d86d95ab81678fc52ca3c2bdd9383fa5a96aef6ce843a7ab8a9d9e40b

See more details on using hashes here.

Provenance

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

Publisher: ci.yml on teamtomo/etomofiles

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

File details

Details for the file etomofiles-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: etomofiles-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for etomofiles-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa53bb86e09249681caf732cf84ca4f3f9a43c7f3556b2d7232dccf39a2c6dac
MD5 892bf22083018a46add6f668d22cac29
BLAKE2b-256 74a4d9575e21853108e79953602c7f74f8b02a252a4ce47355ce560c3ffef17f

See more details on using hashes here.

Provenance

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

Publisher: ci.yml on teamtomo/etomofiles

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