Laboratory diffractometer-based XAFS spectrometer.