User Tools

Site Tools


software:gettingstartedmax

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:gettingstartedmax [2023/12/05 14:58]
smerkel
software:gettingstartedmax [2023/12/09 21:26] (current)
smerkel
Line 2: Line 2:
  
 A minimal set of data processing tools could include A minimal set of data processing tools could include
- * [[software:​fabian|Fabian]] : to look at diffraction images and median calculations +  ​* [[software:​fabian|Fabian]] : to look at diffraction images and median calculations 
- * [[software:​imaged11|ImageD11]]:​ script for peak search, experimental parameters refinement, peak assignment, can do grain indexing, and many others +  * [[software:​imaged11|ImageD11]]:​ script for peak search, experimental parameters refinement, peak assignment, can do grain indexing, and many others 
- * [[software:​grainspotter|GrainSpotter]]:​ grain indexing +  * [[software:​grainspotter|GrainSpotter]]:​ grain indexing 
- * [[software:​TIMEleSSTools|Specific TIMEleSS tools]]: a collection of scripts from the TIMEleSS projects, for both pre- and post-processing+  * [[software:​TIMEleSSTools|Specific TIMEleSS tools]]: a collection of scripts from the TIMEleSS projects, for both pre- and post-processing
  
 Those are themselves built against a suite of libraries and could be hard to get working. Those are themselves built against a suite of libraries and could be hard to get working.
Line 23: Line 23:
   * At the Python REPL (the Python ''>>>''​ prompt), exit out of the Python REPL using the command ''​exit()''​. ​   * At the Python REPL (the Python ''>>>''​ prompt), exit out of the Python REPL using the command ''​exit()''​. ​
  
-===== Step 2: Fable-3XRD packages with pip  * Unordered List Item or automated install =====+The following packages should be installed from anaconda to avoid compatibility issues 
 +  * numpy: ''​conda install -c anaconda numpy''​ 
 +  * scipy: ''​conda install -c anaconda scipy''​ 
 +  * matplotlib: ''​conda install -c anaconda matplotlib''​ 
 +  * pyqt: ''​conda install -c anaconda pyqt''​ 
 +  * Pmw: ''​conda install -c conda-forge pmw''​ 
 +  * OpenPG: ''​conda install ​ pyopenGL''​ 
 + 
 +Then there are two packages with ended up conflicting when trying to install using conda. Resorting to pip instead: 
 +  * fabio: ''​python -m pip install fabio''​ 
 +  * pyopengltk: ''​python -m pip install pyopengltk''​ 
 + 
 +===== Step 2: Fable-3XRD packages with pip or automated install =====
  
 Python packages can be installed from source, downloading the source code from the original website, or through [[https://​pip.pypa.io/​en/​stable/​ | 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. Python packages can be installed from source, downloading the source code from the original website, or through [[https://​pip.pypa.io/​en/​stable/​ | 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.
Line 34: Line 46:
   * silx: ''​python -m pip install silx''​ (not a Fable-3XRD but could become useful in the future)   * silx: ''​python -m pip install silx''​ (not a Fable-3XRD but could become useful in the future)
  
-[[software:​grainspotter|GrainSpotter]],​ also, is available automatically on Anaconda (GrainSpotter is a C program, hence the difference procedure)+[[software:​grainspotter|GrainSpotter]],​ also, is available automatically on Anaconda ​if you are using linux (GrainSpotter is a C program, hence the difference procedure)
   * In a terminal: ''​conda install -c fable grainspotter''​   * In a terminal: ''​conda install -c fable grainspotter''​
 +  * This does not seem to work with a mac, see below (installing from source)
  
 Those few lines will install the packages, but also thousands of various libraries that they depend on. Those few lines will install the packages, but also thousands of various libraries that they depend on.
  
-===== Step 3: Fable-3XRD packages ​with pip =====+===== Step 3: Fable-3XRD packages ​from source ​===== 
 + 
 +Other packages are required but need to be installed from the [[https://​github.com/​FABLE-3DXRD | Fable-3DXRD source at github]]: 
 +  * [[software:​polyxsim|polyxsim]] (used by some of the TIMEleSS-tools) 
 +  * [[software:​fabian|fabian]] 
 + 
 +For both, procedure is identical 
 +  * go to the [[https://​github.com/​FABLE-3DXRD | Fable-3DXRD source at github]], 
 +  * enter the corresponding repository (polyxsim or fabian) 
 +  * at the top right of the page, click on the green //Code// button, and download a zip archive, 
 +  * on your machine, unzip the archive, 
 +  * from the terminal, move into the folder that was created, 
 +  * type ''​python setup.py build'',​ 
 +  * type ''​python setup.py install''​ 
 + 
 +[[software:​grainspotter|GrainSpotter]] is a C program which, on a mac, is not readily available in anaconda 
 +  * Download the GrainSpotter source code from [[https://​sourceforge.net/​p/​fable/​code/​HEAD/​tree/​GrainSpotter/​trunk/​]],​ 
 +  * Move into the folder with GrainSpotter and type ''​make'',​ 
 +  * Copy ''​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. 
  
software/gettingstartedmax.1701788307.txt.gz · Last modified: 2023/12/05 14:58 by smerkel