THE AUDITORY MODELING TOOLBOX

Applies to version: 0.10.0

Go to function

REIJNIERS2014 - - An ideal-observer model of human sound localization

Usage

[results,template,target] = reijniers2014(template,target,'num_exp',20,'sig_S',4.2);


Input parameters

template.fs
sampling rate (Hz)
template.fc
ERB frequency channels (Hz)
template.itd
itd computed for each hrir (samples)
template.H
Matrix containing absolute values of HRTFS for all grid points
template.coords
Matrix containing cartesian coordinates of all grid points, normed to radius 1m
template.T
angular template for each coordinate
target.fs
sampling rate
target.fc
ERB frequency channels
target.itd
itd corresponding to source position
target.S
sound source spectrum
target.H
Matrix containing absolute values of HRTFS for all source directions
target.coords
Matrix containing cartesian coordinates of all source positions to be estimated, normed to radius 1m
target.T
angular template for each coordinate

Output parameters

 doa directions of arrival in spherical coordinates --X_DOT_est : estimated [num_sources, num_repetitions, 3] .real : actual [num_sources, 3] params additional model's data computerd for estimations --X_DOT_est_idx : Indices corresponding to template direction where the maximum probability density for each source position is found
.est_loglik
Log-likelihood of each estimated direction
 --X_DOT_post_prob : Maximum posterior probability density for each target source --X_DOT_freq_channels : number of auditory channels --X_DOT_T_template : Struct with template data elaborated by the model --X_DOT_T_target : Struct with target data elaborated by the model
.Tidx
Helper with indexes to parse
the features from T and X

reijniers2014 accepts the following optional parameters:

'num_exp=num_exp Set the number of localization trials.'
Default is num_exp = 500.
 'SNR',SNR Set the signal to noise ratio corresponding to different sound source intensities. Default value is SNR = 75 [dB] 'sig_itd',sig Set standard deviation for the noise on the itd. Default value is sig_itd = 0.569. 'sig_I',sig Set standard deviation for the internal noise. Default value is sig_I = 3.5. 'sig_S',sig Set standard deviation for the variation on the source spectrum. Default value is sig_I = 3.5.

Further, cache flags (see amt_cache) can be specified.