Skip to content
Snippets Groups Projects
Verified Commit b913816b authored by leprob001's avatar leprob001
Browse files

fix: Unshifted TOAs are now used from artoaDataInput

parent 6b3fc95f
No related branches found
No related tags found
No related merge requests found
......@@ -44,9 +44,7 @@ for i = 1:length(fnames)
results.(fnames{i}).difference = [];
selection = strcmp(artoaWorkspace.toaData.soundSource, fnames(i));
toas = artoaWorkspace.toaData.toa(selection);
% artoaWorkspace.toaData.toa contains offset, drift and empirical offset
% therefore to get the unshifted values, we need to subtract the empirical shift
unshiftedToas = artoaWorkspace.toaData.toa(selection) - artoaWorkspace.toaData.empiricalShift(selection);
unshiftedToas = artoaDataInput.toaData.toa(selection);
toaDates = ceil(artoaWorkspace.toaData.toaDate(selection));
if length(toaDates) > 1
% interpolate
......
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