Skip to content
Snippets Groups Projects
Commit b4a543a5 authored by Ioannis Michaloliakos's avatar Ioannis Michaloliakos
Browse files

Fix response function for uncalibrated data

parent 8634bf6d
No related branches found
No related tags found
No related merge requests found
......@@ -477,18 +477,20 @@ for I = 1:params.numIntervalsTotal
clear adcdata2;
calibsec1 = dataStartTime1 + params.bufferSecs1;
[response1(J), responseOK1]=calculateResponseFunction(params.cal1, calibsec1, ...
params.flow, params.deltaF, ...
params.numFreqs, ...
params.ASQchannel1, ...
params.channel1Calibrated);
[response1(params.numSegmentsPerInterval), responseOK1]= ...
calculateResponseFunction(params.cal1, calibsec1, ...
params.flow, params.deltaF, ...
params.numFreqs, ...
params.ASQchannel1, ...
params.channel1Calibrated);
calibsec2 = dataStartTime2 + params.bufferSecs2;
[response2(J), responseOK2]=calculateResponseFunction(params.cal2, calibsec2, ...
params.flow, params.deltaF, ...
params.numFreqs, ...
params.ASQchannel2, ...
params.channel2Calibrated);
[response2(params.numSegmentsPerInterval), responseOK2]= ...
calculateResponseFunction(params.cal2, calibsec2, ...
params.flow, params.deltaF, ...
params.numFreqs, ...
params.ASQchannel2, ...
params.channel2Calibrated);
if (~responseOK1 | ~responseOK2)
badResponse = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment