A Perceptually Motivated Spectral Difference Model for Binaural Signals.
Read in reference and test stimuli from the following paper: McKenzie, T., Murphy, D. T., & Kearney, G. C. (2018). Diffuse-Field Equalisation of Binaural Ambisonic Rendering. Applied Sciences, 8(10). https://doi.org/10.3390/app8101956 The test compares binaural Ambisonic renders with and without diffuse-field equalisation to HRTF convolutions.
This script also includes an example of a way to plot perceptual spectral difference values.
As referred to in the Acta Acustica paper: McKenzie, T., Armstrong, C., Ward, L., Murphy, D. T., & Kearney, G. (2021). A Perceptually Motivated Spectral Difference Model for Binaural Signals. Acta Acustica (in review).