Skip to content

AdvancedPhotonSource/pyxalign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation Instructions

  1. Create a conda environment with python 3.13*
conda create -n pyxalign

then activate the environment

conda activate pyxalign
  1. Install astra-toolbox, CuPy, and ipykernel from conda-forge:
conda install -c conda-forge astra-toolbox
conda install -c conda-forge cupy
conda install -c conda-forge ipykernel
  1. Clone the pyxalign git repo
git clone https://github.com/AdvancedPhotonSource/pyxalign.git
  1. Install the package
cd pyxalign
pip install .

For an editable install, use this instead:

cd pyxalign
pip install -e .

To install astra-toolbox and cupy for a specific cuda-toolkit, add cudatoolkit=[version_number] to the end of the conda install commands. For example:

conda install -c conda-forge astra-toolbox cudatoolkit=11.8

This can be helpful when the conda environment is being setup on a machine that is different than the machine where the code will be run.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published