Extract sum-diffraction patterns from all points of 4D STEM diffraction image
DigitalMicrograph - Gatan
The first two numbers specify input (N) and output (M) dimensionality. The next N values give a sampling start point, and the next M triplets define sampling for each output dimension.