AreTomo (w)rapper for rln4
Project description
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',
)
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.
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
lil_aretomo-0.0.15.tar.gz
(8.6 kB
view details)
Built Distribution
File details
Details for the file lil_aretomo-0.0.15.tar.gz
.
File metadata
- Download URL: lil_aretomo-0.0.15.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65e138af27bb8c1ba20e3edb769df5216cbcbf42e659c3b5713b2e37c7ad8bb3 |
|
MD5 | 5d8c71a397bf946e068d16d7a6ba548c |
|
BLAKE2b-256 | 00364671abd1545cf37f19576ee88caebae39b538cde0436b4468a213f40acb7 |
File details
Details for the file lil_aretomo-0.0.15-py2.py3-none-any.whl
.
File metadata
- Download URL: lil_aretomo-0.0.15-py2.py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db37a7b45bea0eb5c6f52be86b7f60745a54f6ed4199486b7fbe7da59b851d90 |
|
MD5 | 9b914981ee67a3370fd2d8fadab87301 |
|
BLAKE2b-256 | 8d3aac6a03ce84d3916d8c0692858ae09ec995a3e7c57bf12bfbef7c9a7e3d6d |