Skip to content

MBIRJAX is a Python package for Model Based Iterative Reconstruction (MBIR) of images from tomographic data.

License

Notifications You must be signed in to change notification settings

cabouman/mbirjax

Repository files navigation

MBIRJAX

Model-Based Iterative Reconstruction (MBIR) for tomographic reconstruction that is based on the JAX library. Full documentation is available at https://mbirjax.readthedocs.io .

Installing from PyPI

pip install mbirjax

Installing from Source

  1. Clone the repository:

    git clone [email protected]:cabouman/mbirjax.git
    
  2. Install the conda environment and package

    1. Option 1: Clean install using dev_scripts - We provide bash scripts that will do a clean install of MBIRJAX in a new conda environment using the commands:

      cd dev_scripts
      source clean_install_all.sh
      
    2. Option 2: Manual install - You can also manually install MBIRJAX from the main directory of the repository with the following commands:

      conda create --name mbirjax python=3.10
      conda activate mbirjax
      pip install -r requirements.txt
      pip install .
      

Running Demo(s)

Run any of the available demo scripts with something like the following:

python demo/<demo_file>.py