THE AUDITORY MODELING TOOLBOX

Applies to version: 1.5.0

View the code

Go to function

PLOT_REIJNIERS2014 - plot scatter plots out of data from reijniers2014

Usage:

colorbar = plot_reijniers2014(dirs, values);
colorbar = plot_reijniers2014(dirs, values,'bias',bias);
plot_reijniers2014(dirs, values);
plot_reijniers2014(dirs, values,'bias',bias,'scatter');

Input parameters:

dirs Normed source directions in cartesian coordinates
values Arbitrary values corresponding to direction in dirs (e.g. error or probability density)
bias optional, display arrows indicating the size and direction of local population response biases for different source positions
target optional, display the target given in Cartesian coordinates as a small cross

Output parameters:

c Colorbar of the plot to modify outside of this function.

Description:

Further, plot flags can be specified:

'interp' Plot scattered interoplated data (default).
'scatter' Plot only discrete scattered data instead of inter- polated scattered data.

References:

R. Barumerli, P. Majdak, R. Baumgartner, J. Reijniers, M. Geronazzo, and F. Avanzini. Predicting directional sound-localization of human listeners in both horizontal and vertical dimensions. In Audio Engineering Society Convention 148. Audio Engineering Society, 2020.

J. Reijniers, D. Vanderleist, C. Jin, C. S., and H. Peremans. An ideal-observer model of human sound localization. Biological Cybernetics, 108:169--181, 2014.