Published October 29, 2021 | Version v1
Software Open

Global fitting approach for time-resolved polycrystalline diffraction data

  • 1. Fritz-Haber-Institut der Max-Planck-Gesellschaft

Description

Fitting routine to analyze time-resolved electron diffraction data of polycrystalline materials (Matlab code). Instead of analyzing individual Debye-Scherrer rings, a fit to the full diffraction pattern is performed in order to extract the changes in atomic mean-squared displacement (MSD) and the expansion following laser excitation. The approach can be applied to monoatomic materials with isotropic MSD. Further information on the global fitting routine is available here: https://arxiv.org/abs/2012.10428

How to use the code:
The code is provided as a compressed zip folder. It contains two folders, "example input" and "functions", as well as the matlab script file "mainScript.m". The script "mainScript.m" is used to run the global fitting routine. The folder "functions" contains all necessary functions. After unzipping the folder, running "mainScript.m" should directly perform the global fitting routine with the example inputs stored in the folder "example input". In order to apply the global fitting routine to other data, "mainScript.m" needs to be modified to load the data that should be analyzed and the scattering vectors of the material. In addition, the settings may have to be modified (in particular fit range and/or number of rings, and maybe also starting parameters for the fit). Further details about the necessary inputs are described in "mainScript.m".

 

Files

global fit.zip

Files (270.1 kB)

Name Size Download all
md5:12e890e9cd32c232ba157194a1f09456
270.1 kB Preview Download

Additional details

Funding

FLATLAND – Electron-lattice-spin correlations and many-body phenomena in 2D semiconductors and related heterostructures 682843
European Commission
Revealing energy pathways and vibrational couplings in transition metal dichalcogenides/organic heterostructures using femtosecond electron diffraction P2SKP2_184100
Swiss National Science Foundation