First look at your data
Plotting your diffraction data
To view your automatically integrated diffraction data, open .xy files in DAWN (Data Analysis WorkbeNch).
DAWN is freely available software produced by Diamond Light Source (click here: DAWN).
Open the DataVis perspective. Click
in the top right of the window and select
.
File>Open File…>
Navigate to your visit directory and then “processed/tth_pe2”
Open the relevant .xy file.
the “_norm_0.xy” file is the same data as the “_0.xy” file but has been normalised by an “I0” value to account for any filtering of the beam
You can plot multiple files by opening them and clicking the tick box in the “Filename” column.
You may need to change the plot type to “Line” (bottom right).
Accessing useful information
A lot of useful metadata is stored within the NeXus files generated for each scan. You can access this information via DAWN:
Open the scan .nxs file found in the top level of your visit folder in DAWN.
Right-click the file and click “View Tree…”
The nexus file has the same format as a .hdf5 file. h5py (https://www.h5py.org/ ) is a useful python package for interfacing with the .nxs files.
Energy and wavelength can be found here:
entry>instrument>optics_hutch>Bent Laue Monochromator
Calibrated sample-to-detector distance can be found here:
entry>instrument>pe2AD
The entries from 0-13 under "processed>process" contain the information, including values, for each processing step and the order (numbered) in which they were applied.