Preparing the inputs for Modspa-Pixel