Extending the Reach of Powder Diffraction Modelling By User Defined Macros (Materials Science Forum)