Key functionality
The nanodiffraction toolbox should provide the following functionality:
- Sequential file reading and processing
- Data masking
- Data selection
- Standalone functions for single-frame data analysis
- Data regridding
- Angular and azimuthal integration (with or without data selection)
- Standard visualizations with proper choice of color and scaling
- Principal component analysis
- Rotational symmetry detection
- Background modeling
Hence, data should be properly reduced to a finite set of meaningful structural parameters. Some functionality is either built from scratch, or, built upon other work. In order to avoid duplication of code, other software packages are used, such as pyFAI for fast azimuthal integration. In other cases, functions have been written, based on other publications, that are listed below.
To increase usage, important functions are re-written in the C programming language to be more easily linked to other toolboxes or software packages.
Syntax and proper usage
Detailed documentation is provided here and within the Matlab package by using the doc or help function of Matlab.