li'l AreTomo
A lightweight Python API for AreTomo.
Installation
It is recommended to install into a fresh virtual environment.
pip install lil_aretomo
Usage
import numpy as np
import mrcfile
from lil_aretomo import align_tilt_series
tilt_series = mrcfile.read('my_tilt_series.mrc')
align_tilt_series(
tilt_series=tilt_series,
tilt_angles=np.linspace(-60, 60, 41),
pixel_size=1.35, # angstroms per pixel
sample_thickness_nanometers=2000, # angstroms
correct_tilt_angle_offset=True,
basename='TS_01', # basename for files passed to AreTomo
output_directory='TS_01_AreTomo',
skip_if_completed=False # set to True to skip if results from a previous alignment are present
)
For developers
We use pre-commit to ensure code style and formatting remains consistent.
To install the package in editable mode development dependencies
pip install -e .[dev]
pre-commit install
Flake8, black and isort will then run automatically on each commit.
Metadata
Release files for lil-aretomo 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lil_aretomo-0.1.1.tar.gz | 10.0 kB | Without provenance | Details for lil_aretomo-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lil_aretomo-0.1.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for lil_aretomo-0.1.1-py2.py3-none-any.whl |
Total release size: 16.9 kB
Release files / lil_aretomo-0.1.1.tar.gz
| Download URL | lil_aretomo-0.1.1.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02ccb0efbf2c06304570117f142e78331bfffdde46864e22de11c6cd7f30f178
|
|
BLAKE2b-256 checksum How to use checksums |
6a525226ffe39caa5f12ba6ab8172466952c5d4799e8d5d2906529f0d0932731
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Release files / lil_aretomo-0.1.1-py2.py3-none-any.whl
| Download URL | lil_aretomo-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7318f945626f66b7700eac7b27172849d8991d02e87d55a17ba5d09263c08e8e
|
|
BLAKE2b-256 checksum How to use checksums |
788510273a7dede1739a6c16062956a4d78db13c5f15f347e3fb580c48ec2538
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Security for lil-aretomo 0.1.1
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.