Skip to content

Examples

Example files listed in the examples directory:

Filename Description
diffcalc_example_mmg_toolbox.py Example Diffcalc Calculation using mmg_toolbox wrapper Requires:
example_peak_fits.py Example script to perform multi-peak fitting on a sequence of scans
diffcalc_example.py Example Diffcalc Calculation Requires:
example_experiment.py Example script using the Experiment class to get files from data folders
launch_jupyter.py Jupyter Notebook commands
example_xas.py Example script to read XAS scans from i06 or i10
example_metadata.py Example script showing how to extract metadata from NeXus files
read_nexus_file_with_h5py.py
msmapper_3dplot_pyvista.py msmapper plotting example Create a 3D volumetric plot from a reciprocal space map of a peak
msmapper_correct_ubmatrix.py
ideal_nexus_file.py Create an idealised nexus file for I16
example_nxtransformations.py Example file reading NXtransformation chains from a NeXus file
make_edge_database.py Use Dans_Diffraction to make a element edge database
example_nexus_scan.py Example script using the Experiment class to get files from data folders
example_lattice.py Example script using the Experiment class to get files from data folders
msmapper_check_hkl.py Check hkl and orientation matrix of msmapper result