We introduce an X-ray Hartmann Wavefront Sensor (HWS) simulation tool developed under the Synchrotron Radiation Workshop (SRW) framework. This metrology package can mimic an in-situ wavefront measurement experiment with a particular beamline optical layout, predict the expected Hartmanngrams, and then give access to the wavefront results under different beamline configurations. From the HWS design point of view, this SRW HWS simulation tool can be used to optimize the wavefront sensor parameters, such as the size and pitch of the Hartmann mask and the distance between the mask and the detector, in a specific X-ray energy range and help to tolerance complicated optical setup. Besides the X-ray HWS simulation in SRW, we also address some initial tests of a hard X-ray HWS under development at NSLS-II. Initial tests can be performed to evaluate the basic functionality of the X-ray HWS, such as the measurement repeatability and sensitivity to beam imperfections. It can provide a comprehensive evaluation of the performance of an X-ray HWS and help to optimize its design and functionality as a diagnostic tool for specific research questions and experimental conditions.
|