Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
stylenone
Expand
titleTo ADd
  • Nexus format

  • Tomography Data

    • How to visualise

    • Tips for working with it

  • Diffraction data

  • How to spatially correlate the two

    • KB_CS_X

    • KB_CS_Y

  • Notebooks

The NEXUS file format

All of DIAD data is packaged as Nexus or .nxs files. The advantage is that each dataset can be packaged with a wealth of metadata.

...

Because DIAD outputs two spatially correlated techniques.

Output

Both imaging and diffraction data are both autoprocessed, meaning that imaging data is reconstructed and diffraction data is reduced from 2D images to 1D patterns.

All data is grouped under a master Experiment nexus, that will contain all scans carried out while an experiment is running.

...

This is what your visit folder will look like:

...

The folders that are most relevant are:

Experiments - Contains a master nexus for each experiment as defined in GDA [Link]

Nexus - Contains all raw nexus data from each scan.

Processed - All autoprocessed data - image reconstructions and diffraction 2D integrations

Processing - This is the only writable folder for the user. This allows you a space to reprocess or do further processing on data.

Scans data

When you run a scan (imaging or diffraction) the data is saved with a unique scan number within the nexus folder (k11-12345.nxs). The actual raw data is found in the scan subfolder as the detector .H5 file.

Autoprocessing

Both imaging and diffraction data are both autoprocessed on DIAD. Imaging data is reconstructed and diffraction data is reduced from 2D images to 1D patterns.

Imaging data

Raw data is found in nexus/k11-XXXXX/k11-XXXXX-imaging.h5

Depending on the SAVU pipeline, autoprocessed reconstructed data is output as an .h5 in the processed folder within a folder with the scan number and the process list name.

image-20240715-174559.pngImage Added

In this case the process list was called full_fd_rr_vo_AST_tiff.

Within this folder the raw data is found in the astra_recon_gpu.h5. If TiffSaver is included in the pipeline then there will also be a folder with each slice saved as a tiff.

...

When you open the nexus file in DAWN. All Data entries look like this

...

:

...

You can often use the dimensions of the data to help you. In this case this is an imaging dataset which has the dimensions 2640,1080,1280.

...

Diffraction data

...

Diffraction data autoprocessing will produce a processed dataset in the processed folder.

...

In this case the dataset also produced a folder with .dat files containing the data as XY.