Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
- Uninstall previous Miniconda / Anaconda installs
- Install Miniconda from https://conda.io/miniconda.html (restart your MAC)
Once miconda is installed run the following in the terminal (before running the second command you may need to install Node.js, see docs here):
Code Block | ||
---|---|---|
| ||
conda install -c conda-forge hyperspy jupyter labextension install @jupyter-widgets/jupyterlab-manager |
- Install pyxem:
Code Block | ||
---|---|---|
| ||
conda install -c conda-forge diffpy.structure pip install https://github.com/pyxem/pyxem/archive/master.zip |
- Install atomap and pixstem:
Code Block | ||
---|---|---|
| ||
pip install atomap pixstem |
To check that all is well with your install, open a Jupyter lab by running:
Code Block | ||
---|---|---|
| ||
jupyter lab |
Select Python3 under Notebook and copy the following block of code to the first cell in the notebook:
Code Block | ||||
---|---|---|---|---|
| ||||
%matplotlib qt
import hyperspy.api as hs
import numpy as np
import atomap.api as am
import pyxem as px
import pixstem as ps |