[Obj,results]=ziegelwanger2013(Obj,method,model,p0_onaxis)
Obj | SOFA object |
method | (Optional) Select one of the estimation methods |
model | (Optional) Correct estimated toa, using geometrical TOA-Model. If \(model=0\) use TOA estimated, if \(model=1\) use TOA modeled (default). |
p0_onaxis | (optional) Starting values for lsqcurvefit
dim 2: each record channel |
Obj | SOFA Object |
data matrix with time of arrival (TOA) for each impulse response (IR):
dim 1: each toa in samples dim 2: each record channel
estimated on-axis model-parameters
dim 2: each record channel
estimated off-axis model-parameters
dim 2: each record channel
Estimates the Time-of-Arrival for each measurement in Obj (SOFA) and corrects the results with a geometrical model of the head.
The value of method is an integer choosing one of the following methods. XXX Explain for each method a little about how they work:
To calculate the model parameters for the on-axis time-of-arrival model (p_onaxis) and for the off-axis time-of-arrival model (p_offaxis) for a given HRTF set (SOFA object, 'Obj') with the minimum-phase cross-correlation method, use:
[Obj,results]=ziegelwanger2013(Obj,4,1);
P. Majdak and H. Ziegelwanger. Continuous-direction model of the broadband time-of-arrival in the head-related transfer functions. In ICA 2013 Montreal, volume 19, page 050016, Montreal, Canada, 2013. ASA. [ DOI ]
H. Ziegelwanger and P. Majdak. Modeling the broadband time-of-arrival of the head-related transfer functions for binaural audio. In Proceedings of the 134th Convention of the Audio Engineering Society, page 7, Rome, 2013.