There is a newer version of the record available.

Published November 26, 2021 | Version For Hyperspy Development
Software Open

Hyperspectral fitting using hyperspy

  • 1. Institute of Materials, Ecole Polytechnique fédérale de Lausanne
  • 2. Attolight SA

Description

This set of Jupyter notebooks are used in the analysis of hyperspectral datasets with the hyperspy library.

The file "clmap_type-IIB_HPHT_diamond-spikes_removed.hspy" is the example dataset.

Summary of the points covered in the different notebooks:

  • 01 - Data Cleaning : covers how to fit and remove background, correct imaging shift using cross correlation
  • 02 and 03 - Noise Analysis and eV conversion: covers how to measure and model heteroscedastic noise in the dataset using Principal Component Analysis. Conversion from nm to eV spectral representation with jacobian conversion, setting of a variance model in the hyperspy object
  • 04 - Model Fitting: Defining and fitting a model on the data. Saving the results
  • 04bis - Fit results plot formatting: Formatting plots with all fit results as well as \(\chi^2 \) statistical goodness-of-fit indicators

At the time of initial upload (30.11.2021), hyperspy is in v 1.6.5 which does not support non-uniform axes for data treatment in eV space. The file "Readme - Installing hyperspy from source" contains instructions on how to install the development version.

Files

01 - Data Cleaning.ipynb

Files (4.1 MB)

Name Size Download all
md5:8e28ef41f56d2d909333609ae5600b7b
12.7 kB Preview Download
md5:3b1cdd45adcbce9f4c310935a1d7880c
79.3 kB Preview Download
md5:dfcd1db0b2a0a9467bd267fae5897f12
27.9 kB Preview Download
md5:449a7a951479bcc724c81da1fc85b48c
13.6 kB Preview Download
md5:4a4ce8f7ec5c41c4b16bbe08cb21fa21
4.0 MB Download
md5:7a0cf730d620c4c39feb68cc9598aed6
1.8 kB Preview Download

Additional details

Funding

NCCR QSIT: Quantum Science and Technology (phase III) 51NF40-185902
Swiss National Science Foundation
Ultra-bright electron sources for pulsed electron microscopy 20B2-1_176680
Swiss National Science Foundation