Installation#
PyALFE supports Linux x86-64, Mac x86-64, and Mac arm64 and requires python >= 3.9.
Option 1: PyPI#
To install, run
pip install pyalfe
Option 2: Development mode#
If you want to have the latest development version, you can clone the repo
git clone https://github.com/reghbali/pyalfe.git
cd pyalfe
update the setuptools
pip install --upgrade setuptools
run the following command in the parent pyalfe directory:
pip install -e .
Option 3: Build and install#
Similar to the previous option, you have to first clone the repo
git clone https://github.com/reghbali/pyalfe.git
cd pyalfe
update the build tool
pip install --upgrade build
Run the following commands in the parent pyalfe directory to build the whl file and install pyalfe
python -m build
pip install dist/pyalfe-0.1.1-py3-none-any.whl
Download models#
To download deep learning models, run
pyalfe download models
Extras#
If you want pyalfe to generate pyradiomics features alongside its default features you can install pyalfe with pyradiomics support. To do so, run:
pip install 'pyalfe[radiomics]'
for development installation
pip install -e '.[radiomics]'
when performing a build and install
pip install 'dist/pyalfe-0.1.1-py3-none-any.whl[radiomics]'
If you want to use ants registration tool, you can install pyalfe with ants support:
pip install 'pyalfe[ants]'
If you want to build the docs, install pyalfe with docs support:
pip install 'pyalfe[docs]'