A python package to simulate powder diffraction using CCP4 and xprepx.