xpdSim A simulation environment for experiments at the XPD beamline at NSLS-II Authors: Chia-Hao Liu, Christopher Wright, Songsheng Tao, Simon J. L. Billinge