Commit cc07a218 authored by Markus Mueller-Trapet's avatar Markus Mueller-Trapet

fix units

parent 7d867057
......@@ -54,7 +54,7 @@ end
channelNames = data.channelNames;
data = ita_split(data,1) - ita_split(data,2);
data = ita_integrate(data,'domain','freq');
denum = (ita_constants('rho_0') * sArgs.distance);
denum = (ita_constants('rho_0') * itaValue(double(sArgs.distance),'m'));
data = data ./ denum;
if sArgs.normalized
......
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