General instructions for installing from source (advanced users)

  1. Install Microsoft Visual C++ 14.2 Standalone: Build Tools for Visual Studio 2019

  2. Install Python 3.X (if it isn’t already installed) and add it to your system path.

  3. Install the following Python packages (version indicated if less than most recent):

    • numpy

    • scipy

    • matplotlib

    • pillow

    • wxpython

    • h5py

    • cython

    • fabio

    • pyFAI

    • hdf5plugin

    • numba

    • reportlab

    • mmcif_pdbx

    • svglib

    • packaging

    • pyopencl

  4. If you want GPU based radial average for images, install system-wide OpenCL drivers. Note that in many cases (e.g. with Nvidia cards) the standard driver package will include these OpenCL drivers by default.

  5. Download the RAW source file (RAW-x.y.z-Source where x.y.z is the version number) from sourceforge ( https://sourceforge.net/projects/bioxtasraw)

  6. Extract RAW to a directory of your choice.

  7. In the top level RAW directory run python setup.py build_ext --inplace to build the extensions.

  8. In the bioxtasraw subdirectory run RAW.py using python.

  9. Enjoy!

Notes for python 2 installation

As of version 2.0.0, RAW is Python 3 compatible. The last guaranteed Python 2 compatible version of RAW is 2.0.0. However, it may still be possible to install RAW for Python 2. A few additional notes for that:

  1. Install Microsoft Visual C++ 2008 Redistributable and Visual C++ Compiler for Python.

  2. Install Python 2.7

  3. Additional dependencies:

    • future

  4. Required version of pyFAI is 0.17