From e8697bba8c6b612ea7426059db68b32b4fa58df6 Mon Sep 17 00:00:00 2001 From: Jan-Gerrit Richter <jri@akustik.rwth-aachen.de> Date: Mon, 26 Mar 2018 11:32:19 +0200 Subject: [PATCH] changed ita_read to ita_read_ita for a speedup --- .../Binaural-HRTF/HRTFarc/ita_HRTFarc_postprocessing.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/applications/Binaural-HRTF/HRTFarc/ita_HRTFarc_postprocessing.m b/applications/Binaural-HRTF/HRTFarc/ita_HRTFarc_postprocessing.m index b4a2b909..e35676d6 100644 --- a/applications/Binaural-HRTF/HRTFarc/ita_HRTFarc_postprocessing.m +++ b/applications/Binaural-HRTF/HRTFarc/ita_HRTFarc_postprocessing.m @@ -43,12 +43,12 @@ wb = itaWaitbar(numAzAngle, 'calculate HRTF', {'azimuth'}); % reference % first determine how many channels the measurement has currentDataEnding = num2str(1); -currentData = ita_merge(ita_read([currentPath filesep currentDataEnding '.ita'])); +currentData = ita_merge(ita_read_ita([currentPath filesep currentDataEnding '.ita'])); numChannels = currentData.nChannels; %read the reference -currentRefTmp = ita_read([path_ref filesep sArgs.ref_name '.ita']); +currentRefTmp = ita_read_ita([path_ref filesep sArgs.ref_name '.ita']); currentRef = merge(currentRefTmp(1:1:length(currentRefTmp))); if currentRef.nChannels == 2 @@ -86,7 +86,7 @@ for iAz = 1:numAzAngle currentDataEnding = num2str(iAz); try - currentData = ita_merge(ita_read([currentPath filesep currentDataEnding '.ita'])); + currentData = ita_merge(ita_read_ita([currentPath filesep currentDataEnding '.ita'])); if sArgs.eimar phi = mod(2*pi-currentData.channelCoordinates.phi+deg2rad(sArgs.phiAdd) ,2*pi); else phi = mod(currentData.channelCoordinates.phi+deg2rad(sArgs.phiAdd) ,2*pi); -- GitLab