A Python package for reading IMOD etomo alignment files into pandas DataFrames
Project description
etomofiles
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1845dbca4afa5c9a0a66cfcbf88638d38e65703f830221034298166b940bc7f3
|
|
| MD5 |
30827e14e4cb7778996b42705293d90c
|
|
| BLAKE2b-256 |
aa0dd50d86d95ab81678fc52ca3c2bdd9383fa5a96aef6ce843a7ab8a9d9e40b
|
Provenance
The following attestation bundles were made for etomofiles-0.1.0.tar.gz:
Publisher:
ci.yml on teamtomo/etomofiles
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
etomofiles-0.1.0.tar.gz -
Subject digest:
1845dbca4afa5c9a0a66cfcbf88638d38e65703f830221034298166b940bc7f3 - Sigstore transparency entry: 444066671
- Sigstore integration time:
-
Permalink:
teamtomo/etomofiles@3c4eea5a43abd6ebe61a511fcae21b4faf4d4eea -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/teamtomo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@3c4eea5a43abd6ebe61a511fcae21b4faf4d4eea -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa53bb86e09249681caf732cf84ca4f3f9a43c7f3556b2d7232dccf39a2c6dac
|
|
| MD5 |
892bf22083018a46add6f668d22cac29
|
|
| BLAKE2b-256 |
74a4d9575e21853108e79953602c7f74f8b02a252a4ce47355ce560c3ffef17f
|
Provenance
The following attestation bundles were made for etomofiles-0.1.0-py3-none-any.whl:
Publisher:
ci.yml on teamtomo/etomofiles
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
etomofiles-0.1.0-py3-none-any.whl -
Subject digest:
fa53bb86e09249681caf732cf84ca4f3f9a43c7f3556b2d7232dccf39a2c6dac - Sigstore transparency entry: 444066678
- Sigstore integration time:
-
Permalink:
teamtomo/etomofiles@3c4eea5a43abd6ebe61a511fcae21b4faf4d4eea -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/teamtomo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@3c4eea5a43abd6ebe61a511fcae21b4faf4d4eea -
Trigger Event:
push
-
Statement type: