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

bugfix for input calibration

parent 0475f522
...@@ -171,6 +171,9 @@ classdef itaMSTFni < itaMSTF ...@@ -171,6 +171,9 @@ classdef itaMSTFni < itaMSTF
imcIdx(chIdx) = find(this.inputMeasurementChain.hw_ch == inputChannels(chIdx)); imcIdx(chIdx) = find(this.inputMeasurementChain.hw_ch == inputChannels(chIdx));
end end
tmpChain = this.inputMeasurementChain(imcIdx); tmpChain = this.inputMeasurementChain(imcIdx);
% we need this to have the correct dimensions for the zeros at the output
outputChannels = this.outputChannels;
this.outputChannels = outputChannels(1);
% element by element % element by element
for iElement = elementIds for iElement = elementIds
for iCh = 1:numel(imcIdx) for iCh = 1:numel(imcIdx)
...@@ -189,6 +192,7 @@ classdef itaMSTFni < itaMSTF ...@@ -189,6 +192,7 @@ classdef itaMSTFni < itaMSTF
end end
this.inputMeasurementChain(imcIdx) = tmpChain; this.inputMeasurementChain(imcIdx) = tmpChain;
this.inputChannels = inputChannels; this.inputChannels = inputChannels;
this.outputChannels = outputChannels;
disp('****************************** FINISHED *********************************') disp('****************************** FINISHED *********************************')
end end
......
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