Polish input argument for PD-to-xcorr