Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
languagebash
conda install -c conda-forge hyperspy
jupyter labextension install @jupyter-widgets/jupyterlab-manager

  • Install pyxem:
Code Block
languagebash
conda install -c conda-forge diffpy.structure
pip install https://github.com/pyxem/pyxem/archive/master.zip
  • Install atomap and pixstem:
Code Block
languagebash
pip install atomap pixstem

To check that all is well with your install, open a Jupyter lab by running:

Code Block
languagebash
jupyter lab

Select Python3 under Notebook and copy the following block of code to the first cell in the notebook:

Code Block
languagepy
titleInstallation check
%matplotlib qt
import hyperspy.api as hs
import numpy as np
import atomap.api as am
import pyxem as px
import pixstem as ps