Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

This workshop will take place on Monday and Tuesday (March 2nd and 3rd) 2020 in Room G53/54 in Diamond House.

Speakers:
Duncan Johnstone (University of Cambridge)
Magnus Nord (EMAT, Antwerp)
Francisco de la Peña (University of Lille)
Eric Prestat (University of Manchester- SuperSTEM)
Paul Quinn (Diamond Light Source)
Thomas Slater (ePSIC - Diamond Light Source)

Agenda

Installation guide

During the workshop we will have a PC workstation prepared with the installed packages and the example notebooks / datasets. We do however encourage the participants to install these packages on their own workstations and acquaint themselves with the Jupyter Lab environment before the workshop to benefit the most form the presented material.

Please follow the steps below for the installation:

  • Install Python 3.7 from Anaconda

  • Open an Anaconda Prompt Terminal and create a new environment by running:

    conda create --name hyperspy_env python=3.7
  • Activate the above environment by:

    WINDOWS: activate py35
    LINUX, macOS: source activate py35
  • Install the packages by running the following commands:

    conda install hyperspy -c conda-forge
    conda install -c conda-forge pyxem
    conda install -c conda-forge atomap
    conda install -c conda-forge particlespy

To test your installation, from the same prompt, run:

jupyter lab

This would open a Jupyter Lab launcher in your web browser. Under Notebook select Python 3 button to open a new notebook. Copy this code to the first cell and run (press shift + enter). If the installation is correct you should not get any error messages.

%matplotlib qt5
import hyperspy.api as hs
import pyxem as pxm
import atomap as am
import ParticleSpy.api as ps

  • No labels