A minimal set of data processing tools could include
Those are themselves built against a suite of libraries and could be hard to get working.
From the Anaconda website,
Conda is an open-source package and environment management system that runs on Windows, macOS, and Linux. Conda quickly installs, runs, and updates packages and their dependencies. It also easily creates, saves, loads, and switches between environments on your local computer. It was created for Python programs, but it can package and distribute software for any language.
In fact, Anaconda is the easiest route to get multigrain data processing working on a mac. You first step is hence to install Anaconda on your mac.
Once Anaconda is installed,
python
Python 3.6.3 | Anaconda Inc. |
ยป>
prompt), exit out of the Python REPL using the command exit()
. The following packages should be installed from anaconda to avoid compatibility issues
conda install -c anaconda numpy
conda install -c anaconda scipy
conda install -c anaconda matplotlib
conda install -c anaconda pyqt
conda install -c conda-forge pmw
conda install pyopenGL
Then there are two packages with ended up conflicting when trying to install using conda. Resorting to pip instead:
python -m pip install fabio
python -m pip install pyopengltk
Python packages can be installed from source, downloading the source code from the original website, or through pip. Source download will always get you the latest version, with the latest developments. Installation with pip is much easier, but may not be the most up-to-date.
If you are super comfortable with python, anaconda, and such, jump to the next section and install everything from the source files at github. If not, stay here and do part of the work with pip.
Some of the Fable-3XRD packages are easy to install
python -m pip install ImageD11
python -m pip install timeless-tools
python -m pip install silx
(not a Fable-3XRD but could become useful in the future)GrainSpotter, also, is available automatically on Anaconda if you are using linux (GrainSpotter is a C program, hence the difference procedure)
conda install -c fable grainspotter
Those few lines will install the packages, but also thousands of various libraries that they depend on.
Other packages are required but need to be installed from the Fable-3DXRD source at github:
For both, procedure is identical
python setup.py build
,python setup.py install
GrainSpotter is a C program which, on a mac, is not readily available in anaconda
make
,GrainSpotter.0.90
somewhere where you can access it easily. This is the executable.It should work out of the box.
By now, you should be done and have a minimal working installation on your mac.