software:gettingstartedmax
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| software:gettingstartedmax [2023/12/05 15:41] – smerkel | software:gettingstartedmax [2026/08/10 09:05] (current) – smerkel | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Getting started | + | ====== Getting started |
| A minimal set of data processing tools could include | A minimal set of data processing tools could include | ||
| - | * [[software: | + | |
| - | * [[software: | + | * [[software: |
| - | * [[software: | + | * [[software: |
| - | * [[software: | + | * [[software: |
| 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. | ||
| + | |||
| ===== Step 1: Anaconda ===== | ===== Step 1: Anaconda ===== | ||
| - | From the [[https:// | + | Anaconda is a wrapper the install programming environments |
| - | <WRAP center round help 60%> | + | |
| - | Conda is an open-source package and environment management system | + | |
| - | </ | + | |
| - | In fact, Anaconda is the easiest route to get multigrain data processing working on a mac. You first step is hence to [[https:// | + | In recent years, however, Anaconda |
| + | |||
| + | If you have Anaconda | ||
| + | |||
| + | ==== Anaconda | ||
| + | |||
| + | You first step is hence to [[https:// | ||
| Once Anaconda is installed, | Once Anaconda is installed, | ||
| Line 22: | Line 26: | ||
| * You should see something like '' | * You should see something like '' | ||
| * At the Python REPL (the Python ''>>>'' | * At the Python REPL (the Python ''>>>'' | ||
| + | |||
| + | ===== Step 2: Getting started ===== | ||
| + | |||
| + | The following packages should be installed from anaconda to avoid compatibility issues | ||
| + | * numpy: '' | ||
| + | * scipy: '' | ||
| + | * matplotlib: '' | ||
| + | * pyqt: '' | ||
| + | * Pmw: '' | ||
| + | * OpenPG: '' | ||
| + | |||
| + | Then there are two packages wich ended up conflicting when trying to install using conda. Resorting to pip instead: | ||
| + | * fabio: '' | ||
| + | * pyopengltk: '' | ||
| + | |||
| + | You also need to install '' | ||
| + | |||
| + | ===== Step 3: 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:// | ||
| + | |||
| + | 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 | ||
| + | * [[software: | ||
| + | * [[software: | ||
| + | * silx: '' | ||
| + | |||
| + | [[software: | ||
| + | * In a terminal: '' | ||
| + | * 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. | ||
| + | |||
| + | ===== Step 3: Fable-3XRD packages from source ===== | ||
| + | |||
| + | Other packages are required but need to be installed from the [[https:// | ||
| + | * [[software: | ||
| + | * [[timeless_viewer|TIMEleSS Viewer]] | ||
| + | |||
| + | For both, procedure is identical | ||
| + | * go to the [[https:// | ||
| + | * 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 '' | ||
| + | * type '' | ||
| + | |||
| + | [[software: | ||
| + | * Download the GrainSpotter source code from [[https:// | ||
| + | * Move into the folder with GrainSpotter and type '' | ||
| + | * Copy '' | ||
| + | |||
| + | It should work out of the box. | ||
| + | |||
| + | By now, you should be done and have a minimal working installation on your system. | ||
| + | |||
| + | |||
software/gettingstartedmax.1701787277.txt.gz · Last modified: by smerkel
