processing:minimal_software_intallation
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| processing:minimal_software_intallation [2026/08/10 10:10] – smerkel | processing:minimal_software_intallation [2026/08/10 10:22] (current) – smerkel | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| Typically this is done by | Typically this is done by | ||
| - | | + | # Creating a dedicated folder |
| - | Move into this folder, and create a dedicated python environment for 3D-XRD work | + | # Move into this folder, and create a dedicated python environment for 3D-XRD work |
| - | python3 -m venv .venv | + | python3 -m venv .venv |
| - | | + | To activate |
| - | source .venv/ | + | source .venv/ |
| + | To de-active the environment, | ||
| + | deactivate | ||
| Line 20: | Line 22: | ||
| ===== Install ESRF data analysis tools, fabio, silx, and ImageD11 ===== | ===== Install ESRF data analysis tools, fabio, silx, and ImageD11 ===== | ||
| - | Within a terminal in which anaconda | + | Within a terminal in which your environement |
| pip3 install fabio | pip3 install fabio | ||
| pip3 install silx | pip3 install silx | ||
| pip3 install ImageD11 | pip3 install ImageD11 | ||
| + | pip3 install Pmw | ||
| - | ===== Install additional packages by hand ===== | + | ===== Install additional |
| - | ==== Fabian | + | ==== TIMEleSS Viewer |
| - | Fabian | + | The TIMEleSS Viewer |
| - | + | ||
| - | Start by installing the Pmw libray, which is required by fabian | + | |
| - | pip3 install Pmw | + | |
| Create a folder for additional software somewhere on your hard disk, called '' | Create a folder for additional software somewhere on your hard disk, called '' | ||
| - | cd ~/Fable-3DXRD | + | cd Fable-3DXRD-Folder |
| - | git clone https:// | + | git clone https:// |
| - | cd fabian | + | cd TIMEleSS_Viewer |
| python3 setup.py build | python3 setup.py build | ||
| python3 setup.py install | python3 setup.py install | ||
| - | Next time, if you want to update your installation of fabian | + | |
| - | cd ~/ | + | Next time, if you want to update your installation of the TIMEleSS Viewer |
| + | cd TIMEleSS_Viewe | ||
| git pull | git pull | ||
| python3 setup.py build | python3 setup.py build | ||
| python3 setup.py install | python3 setup.py install | ||
| - | We did have a problem while install fabian, which was calling some obscure functions with OpenGL. Move looked into the fabian source code to de-activate those functions. This should be documented somewhere but we did not do it yet. | + | |
| + | To start the TIMEleSS Viewer, simple type '' | ||
| ==== PolyXSim ==== | ==== PolyXSim ==== | ||
| If you want to simulate data for training, you need will PolyXSim. The procedure is very similar to that we used for fabian. If you never installed PolyXSim: | If you want to simulate data for training, you need will PolyXSim. The procedure is very similar to that we used for fabian. If you never installed PolyXSim: | ||
| - | cd ~/Fable-3DXRD | + | cd Fable-3DXRD-Folder |
| git clone https:// | git clone https:// | ||
| cd PolyXSim | cd PolyXSim | ||
| Line 57: | Line 59: | ||
| If you need to update PolyXSim: | If you need to update PolyXSim: | ||
| - | cd ~/Fable-3DXRD/PolyXSim | + | cd Fable-3DXRD-Folder |
| + | cd PolyXSim | ||
| git pull | git pull | ||
| python3 setup.py build | python3 setup.py build | ||
| Line 67: | Line 70: | ||
| If you never installed the TIMEleSS-tools: | If you never installed the TIMEleSS-tools: | ||
| - | cd ~/Fable-3DXRD | + | cd Fable-3DXRD-Folder |
| git clone https:// | git clone https:// | ||
| cd TIMEleSS | cd TIMEleSS | ||
| Line 74: | Line 77: | ||
| Otherwise, if you simply want to update your local copy: | Otherwise, if you simply want to update your local copy: | ||
| - | cd ~/Fable-3DXRD/TIMEleSS | + | cd Fable-3DXRD-Folder |
| + | cd TIMEleSS | ||
| git pull | git pull | ||
| python3 setup.py build | python3 setup.py build | ||
| Line 81: | Line 85: | ||
| ==== Grainspotter ==== | ==== Grainspotter ==== | ||
| - | Grainspotter is often used to index grains. It is available on conda: | + | Grainspotter is often used to index grains. It is a plain C code, with [[software: |
| - | conda install -c fable grainspotter | + | |
| ===== Wrap-up ===== | ===== Wrap-up ===== | ||
processing/minimal_software_intallation.1786349446.txt.gz · Last modified: by smerkel
