Hyperspy Workshop- 2020
Â
Â
This workshop took 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)
Â
- 1 Agenda
- 2 Installation guide- Bundle installation
- 3 Installation guide- Conda installation
- 4 Workshop Notebooks and Presentations
- 5 Notebooks and Presentations
- 5.1 HyperSpy Talk
- 5.2 getting started
- 5.3 Introduction to Data Analysis
- 5.4 Curve Fitting
- 5.5 Machine Learning
- 5.6 Big Data & Lazy Signals
- 5.7 EELS Analysis
- 5.8 EDX Data Analysis
- 5.9 PyXem
- 5.10 ParticleSpy
- 5.11 HyperSpy Community
- 6 Online Resources
Â
Agenda
Â
Â
Installation guide- Bundle installation
During the workshop we will have Windows PC workstations prepared with the packages installed and the example notebooks / datasets on disk. We do however encourage the participants to install these packages on their own laptops / workstations and acquaint themselves with the Jupyter Lab environment before the workshop to benefit the most form the presented material.
The easiest way to install hyperspy and other hyperspy extensions (pyxem and atomap) presented in the workshop is to install using the bundles here.
The detailed bundle installation instructions for Windows and MAC can be found through the provided links (courtesy of Eric Prestat).
ParticleSpy is not included in this bundle and should be installed separately following the instructions here.
For this year’s workshop we will be using the bundle above for the workshop workstations.
Â
Â
Installation guide- Conda installation
Having the installation done through this route allows you to have these packages updated independent of each other, in case there is a new release in future. The bundle install is a more rigid package but is guaranteed to work in one step, so it is simpler.
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 hyperspy_env LINUX, macOS: source activate hyperspy_env
Install the packages by running the following commands:
conda install hyperspy -c conda-forge jupyter labextension install @jupyter-widgets/jupyterlab-manager conda install -c conda-forge pyxem conda install -c conda-forge atomap
Â
ParticleSpy is not included in this bundle and should be installed separately following the instructions here.
Â
To test your installation, from the same prompt, run:
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.
Â
Â
Â
Â
Workshop Notebooks and Presentations
We will gradually make the Jupyter Lab notebooks, example datasets and presentations available here for download.
Â
Notebooks and Presentations
HyperSpy Talk
getting started
notebook:
talk:
Introduction to Data Analysis
talk:
Curve Fitting
notebook
Machine Learning
Big Data & Lazy Signals
EELS Analysis
EDX Data Analysis
PyXem
ParticleSpy
HyperSpy Community
talk
Â
Â
Online Resources
Â
Â
Â
Â