Skip to content

Examples

Example files listed in the examples directory:

Filename Description
example_peak_fits.py Example script to perform multi-peak fitting on a sequence of scans
diffcalc_example.py Example Diffcalc Calculation Requires:
diffcalc_example_mmg_toolbox.py Example Diffcalc Calculation using mmg_toolbox wrapper Requires:
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
ideal_nexus_file.py Create an idealised nexus file for I16
example_metadata.py Example script showing how to extract metadata from NeXus files
launch_jupyter.py Jupyter Notebook commands
example_xas.py Example script to read XAS scans from i06 or i10
read_nexus_file_with_h5py.py
example_experiment.py Example script using the Experiment class to get files from data folders
example_nxtransformations.py Example file reading NXtransformation chains from a NeXus file