Commit 05d3a5ae authored by Jan-Gerrit Richter's avatar Jan-Gerrit Richter

bugfix sofa_read:

coordinates are given as elevation angle and not as theta angle
parent 0c7e024a
......@@ -50,7 +50,7 @@ switch dataType
case 'spherical'
% if strcmpi(dataUnit,'degree')
coordinates.phi_deg = data(:,1);
coordinates.theta_deg = data(:,2)+90;
coordinates.elevation = data(:,2);
coordinates.r = data(:,3);
% else
% warning('ITA_READ_SOFA: unit is not checked in spherical type');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment