Abstract
SXD is a time-of-flight hue diffractometer situated at ISIS. A suite of programs has been developed to convert SXD-data from raw data measured by the SXD two dimensional position sensitive detector into reciprocal lattice space and to visualise the results in three dimensions. As a core component of this system an algorithm for rebinning large amounts of data effectively in three-dimensional space was developed. In order to make the algorithm more usable for other applications in neutron scattering this algorithm was extended to n-dimensions.