Hyperspy Workshop- 2024
Â
- 2 BYOD Session Organiser
- 2.1 Workshop Software Platform
- 2.2 Installation guide- Using the bundle (Preferred route!)
- 2.3 Google Colab
- 2.4 Installation guide- Using Miniforge / Mamba (Potentially not as stable as above)
- 2.5 Testing your installation
- 2.6 Workshop Notebooks and Presentations
- 2.6.1 Large Data Download link
- 2.7 Recordings of the workshop tutorials
- 2.8 Online Resources
Â
Speakers:
Carter Francis (University of Wisconsin-Madison)
Jacob Madsen (University of Vienna)
Kate MacArthur (Oxford Instruments)
Magnus Nord (NTNU, Norway)
Francisco de la Peña (University of Lille)
Eric Prestat (UKAEA)
Stephanie Ribet (LBL)
Thomas Slater (Cardiff University)
Tara Mishra (LBL)
Steven Zeltmann (Cornell University)
Joining also as panellists:
Ben Savitzky (LBL - hbar instruments)
Â
Â
Â
Â
Â
Diamond Light Source (ePSIC) organising team:
Â
Mohsen Danaie - mohsen.danaie@diamond.ac.uk
David Hopkinson and Chris Allen
Â
Diamond’s Events Page: https://www.diamond.ac.uk/Home/Events/2024/HyperSpy-Workshop-2024.html
Â
Agenda
Â
BYOD Session Organiser
If you would like to have a more focussed discussion with one of the Speakers about your own data please express interest via this link:
Add to the table your name, a brief description of the type of data analysis and relevant packages, plus links to any existing code / example datasets, if possible. These will then be assigned to Speakers and we will have break-out rooms on Friday’s BYOD session.
Â
Workshop Software Platform
We will be running the workshop on your local python installations [Instructions below]. It is crucial that you check your installation ahead of the week of workshop and if you have any issues to get in touch with us.
Â
Installation guide- Using the bundle (Preferred route!)
You can use this bundle installer to get all the packages needed for the workshop all at once:
https://hyperspy.org/hyperspy-bundle/
For testing the installation, write click on a location on your machine and select Jupyter lab here and open a Python 3 notebook and try importing the packages as below in testing section.
Â
Google Colab
For some of the demos - and as a back up in case your local installation develops an issue - we may run notebooks on Google Colab during the workshop.
Please make sure you have an active Google account for this.
We will share the link to those notebooks during the workshop.
Â
Installation guide- Using Miniforge / Mamba (Potentially not as stable as above)
These instructions are provided to enable you to have your personalised hyperspy (and other packages covered in this workshop) installed on you local machine. 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.
Please follow the steps below for the installation:
Install Python from Mambaforge
Open a Miniforge terminal. This should look like a regular terminal but with the prompt set to (base)
Create a new environment by running:
conda create --name hyperspy_env python=3.10
Activate the above environment by:
WINDOWS: activate hyperspy_env LINUX, macOS: source activate hyperspy_env
Now your prompt should read: (hyperspy_env)
Install the packages by running the following commands:
mamba install hyperspy mamba install abtem nglview mamba install pyxem mamba install atomap mamba install particlespy mamba install jupyterlab notebook ipympl mamba install py4dstem pymatgen
Please note that you need to ensure your local installation works ahead of the workshop! Please attend the troubleshooting session on Friday 19th if in doubt!
Â
Â
Testing your installation
To test your installation, from the same prompt, run:
This would open a Jupyter lab launcher in your web browser (You can choose the default browser here). If you have installed using the Bundle you can right click and select Jupyter Lab here! Under Notebook select Python 3 (ipykernel) 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 (Note that you may get a Warning about pyOpenCl that can be ignored.).
Â
Â
Â
Â
Workshop Notebooks and Presentations
We will gradually make the Jupyter notebooks, example datasets and presentations available here to download. In the meantime, we will be updating this github repository:
https://github.com/ePSIC-DLS/Hyperspy_Workshop_2024
Â
Large Data Download link
Link to the ZIP file
Recordings of the workshop tutorials
Â
Â
Online Resources
Â
Â
Â
Â
Â
Â