Package for alignment and reconstruction of laminography and tomography datasets.
Project description
Installation Instructions
Conda Environment
- Create a conda environment with python 3.13
conda create -n pyxalign python=3.13
then activate the environment
conda activate pyxalign
Install astra-toolbox and CuPy from conda-forge:
conda install -c conda-forge astra-toolbox
conda install -c conda-forge cupy
Installing these libraries from conda-forge instead of pip ensures that required CUDA toolkit is installed.
Create an editable, developer installation of pyxalign:
git clone https://github.com/AdvancedPhotonSource/pyxalign.git
cd pyxalign
pip install -e ".[dev]"
Install the latest version of pyxalign from PyPI:
pip install pyxalign
Podman Container
- Clone the pyxalign git repo
git clone https://github.com/AdvancedPhotonSource/pyxalign.git
cd pyxalign
- Build the container image
podman build -t pyxalign:latest .
- Run the container
podman run \
-it --rm --env DISPLAY --security-opt label=type:container_runtime_t \
--network host -v="$HOME/.Xauthority:/root/.Xauthority:rw" \
--device nvidia.com/gpu=all \
pyxalign:latest bash
Any directories you need access to inside the container must be explicitly mounted using the -v flag:
-v /path/on/host:/path/in/container
For example, to mount your data directory:
podman run \
-it --rm --env DISPLAY --security-opt label=type:container_runtime_t \
--network host -v="$HOME/.Xauthority:/root/.Xauthority:rw" \
-v /data/my_experiment:/data/my_experiment \
--device nvidia.com/gpu=all \
pyxalign:latest bash
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 pyxalign-1.1.0.tar.gz.
File metadata
- Download URL: pyxalign-1.1.0.tar.gz
- Upload date:
- Size: 279.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f9d5ba9bf2561911c73566e8099a0fdbaaa55474eaefce2baf9a9a488b8c2fa
|
|
| MD5 |
42be10f0ae0403aee7dd3b7bb2333767
|
|
| BLAKE2b-256 |
f46cf35d8f0683a95de8213bbe32384095a7deba6d19e6ce9c68cd7818b07ca7
|
File details
Details for the file pyxalign-1.1.0-py3-none-any.whl.
File metadata
- Download URL: pyxalign-1.1.0-py3-none-any.whl
- Upload date:
- Size: 335.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a6e4a7451f7f8cf0f1e475f120332dff6850343dccdacf47cd43097ee98bd5b
|
|
| MD5 |
ae4e30c98dd1c8b88786032a028d293a
|
|
| BLAKE2b-256 |
f212866c306dff64f9f6cccc38a4699f20b1a6cc275392ddc3f97d440c0c458d
|