Installation#
Stable release#
pip install acia
acia requires Python 3.10 or newer and is tested on 3.10–3.13.
Optional features (extras)#
The core install stays deliberately light. File-format readers, remote storage, the interactive widgets and the deep-learning backends are installed on demand:
Extra |
Install |
Gives you |
|---|---|---|
|
|
Reading Nikon ND2 files ( |
|
|
Reading Zeiss CZI files ( |
|
|
Reading and writing OMERO images and ROIs |
|
|
SMB/SAMBA shares plus the OS-keyring credential store |
|
|
The interactive curation widgets ( |
|
|
Jupyter display helpers |
|
|
ruff, mypy, pytest, pre-commit — for contributors |
|
|
Sphinx and friends, to build this site |
Extras combine: pip install "acia[nd2,czi,remote]".
Reading plain TIFF stacks, OME-TIFFs and folders of per-timepoint TIFFs needs no extra — that support is in the core install.
Segmentation backends#
Warning
The segmentation backends are mutually exclusive — install exactly one per environment.
They pin conflicting versions of cellpose, torch and numpy, so pip cannot
satisfy two of them at once:
cellpose— classic Cellpose, pinscellpose<4cellpose-sam— Cellpose-SAM, pinscellpose>=4omnipose— pinsomnipose==1.0.6andscipy==1.11.4
If you need to compare backends, use one virtual environment (or one Colab
runtime) per backend. That is exactly what the acia-workflows CI does — one
job per backend.
Extra |
Install |
Backend |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
see below |
flowpose-rt is a lightweight Omnipose-compatible backend that needs neither
cellpose nor omnipose nor numba at runtime. It is not on PyPI yet, so install it
from source:
pip install ../flowpose-rt
pip install "acia[flowpose-rt]"
No GPU, or just trying things out?
CannySegmentationProcessor needs no extra at
all — no torch, no model download. It is far less accurate than the deep-learning
backends, but it lets you run a complete pipeline end to end on any laptop.
Tracking backends (trackastra, ultrack, laptrack, pyuat) are installed
directly rather than through extras; see their own documentation.
From source#
git clone https://github.com/SMLCI/acia-core.git
cd acia-core
pip install -e ".[dev]"
Run the test suite and linters before opening a merge request:
pytest
ruff check acia tests
ruff format --check acia tests
Building this documentation#
pip install -e ".[docs]"
sphinx-build -b html docs docs/_build/html
The tutorials are executed as part of the build (see
1. Open your first file), so the first run downloads a ~20 MB
sample dataset and takes a few minutes; subsequent builds reuse the execution
cache. The tutorials use the omnipose backend, so build the docs with
pip install -e ".[docs,omnipose]" --use-pep517 on Python 3.10 if you want
them to execute.