Installation¶
Install From PyPI¶
For normal use, install the latest released package from PyPI:
pip install AtomVoxelizer
Optional feature groups can be installed with extras:
pip install "AtomVoxelizer[analysis]"
pip install "AtomVoxelizer[examples]"
pip install "AtomVoxelizer[docs]"
The base package includes the NumPy VoxelGrid backend. Acceleration
backends are optional packages installed directly when needed:
pip install numba
pip install taichi
# Choose the CuPy package matching your CUDA runtime, for example:
pip install cupy-cuda12x
Install From Source¶
Use the GitLab repository for development, local documentation builds, or unreleased changes:
git clone https://gitlab.com/tgmaxson/atomvoxelizer.git
cd atomvoxelizer
pip install -e ".[dev,examples]"
The canonical source repository is:
Optional Feature Map¶
Feature |
Install |
Used by |
|---|---|---|
Analysis |
|
connected components, marching cubes, scalar mesh extraction |
Examples |
|
ASE structure loading, CIF examples, Wulff and surface examples |
Quickstart tutorial |
|
Wulff nanoparticle construction, voxel adsorption sites, and CO MCMD |
Numba backend |
|
|
CuPy backend |
|
|
Taichi backend |
|
|
Documentation |
|
local Sphinx documentation builds |
Publishing |
|
building and checking PyPI artifacts |
See Contributing for development commands, testing, documentation builds, and release publishing.