Systems and methods for performing spectral-spatial mapping in and coded spectroscopy are described. The DSP includes a plurality of absolute difference determinators in a first stage. An attachment member is positioned in the at least one recess and is attached to the end gate body for releasably securing items to the end gate body.