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

chore: Added missing prepareToaDataForCalculations function

parent 18229f95
No related branches found
No related tags found
No related merge requests found
320
\ No newline at end of file
321
\ No newline at end of file
function [toaData] = prepareToaDataForCalculations()
%PREPARETOADATAFORCALCULATIONS This function returns a toaData struct that matches the initial state including the empirical shift.
% This function is required to recalculate the TOAs. Because toaData.toa
% is used for storing the TOAs that have been calculated, this struct is
% being reset everytime a new calculation takes place. If not, the
% already calculated TOAs are used as input for the new calculations,
% making them add up.
global artoaWorkspace artoaDataInput;
toaData = artoaWorkspace.toaData;
toaData.toa = artoaDataInput.toaData.toa + artoaWorkspace.toaData.empiricalShift;
end
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