Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
artoa4argo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
argoTools
artoa4argo
Commits
3fae7f41
Commit
3fae7f41
authored
4 years ago
by
leprob001
Browse files
Options
Downloads
Patches
Plain Diff
Bugfix, the empiric_drift and offset has not been set during creation of the offset table.
parent
dd77595b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
VERSION
+1
-1
1 addition, 1 deletion
VERSION
lib/+artoa/+offsets/generateOffsetTable.m
+7
-5
7 additions, 5 deletions
lib/+artoa/+offsets/generateOffsetTable.m
with
8 additions
and
6 deletions
VERSION
+
1
−
1
View file @
3fae7f41
267
\ No newline at end of file
268
\ No newline at end of file
This diff is collapsed.
Click to expand it.
lib/+artoa/+offsets/generateOffsetTable.m
+
7
−
5
View file @
3fae7f41
...
...
@@ -73,10 +73,9 @@ if iscell(pSoundsources)
offsetTable
{
i
+
1
,
variableNames
{
3
}},
...
offsetTable
{
i
+
1
,
variableNames
{
4
}},
...
offsetTable
{
i
+
1
,
variableNames
{
5
}},
...
offsetTable
{
i
+
1
,
variableNames
{
6
}}
...
offsetTable
{
i
+
1
,
variableNames
{
6
}},
...
offsetTable
{
i
+
1
,
variableNames
{
7
}}
...
]
=
extract
(
pSoundsources
{
i
});
offsetTable
{
i
+
1
,
variableNames
{
7
}}
=
...
artoa
.
data
.
getMember
(
pSoundsources
{
i
},
{
'empiric_drift'
},
NaN
);
end
end
...
...
@@ -90,12 +89,14 @@ if isstruct(pSoundsources)
offsetTable
{
i
+
1
,
variableNames
{
2
}},
...
offsetTable
{
i
+
1
,
variableNames
{
3
}},
...
offsetTable
{
i
+
1
,
variableNames
{
4
}},
...
offsetTable
{
i
+
1
,
variableNames
{
5
}}
...
offsetTable
{
i
+
1
,
variableNames
{
5
}},
...
offsetTable
{
i
+
1
,
variableNames
{
6
}},
...
offsetTable
{
i
+
1
,
variableNames
{
7
}}
...
]
=
extract
(
pSoundsources
.
(
fnames
{
i
}));
end
end
function
[
startDate
,
startOffset
,
endDate
,
endOffset
,
drift
,
empiric_offset
]
=
extract
(
pSoundsource
)
function
[
startDate
,
startOffset
,
endDate
,
endOffset
,
drift
,
empiric_offset
,
empiric_drift
]
=
extract
(
pSoundsource
)
startDate
=
NaN
;
startOffset
=
NaN
;
endDate
=
NaN
;
...
...
@@ -141,6 +142,7 @@ end
if
length
(
pSoundsource
.
empiric_offset
)
==
4
empiric_offset
=
pSoundsource
.
empiric_offset
(
4
);
end
empiric_drift
=
artoa
.
data
.
getMember
(
pSoundsource
,
{
'empiric_drift'
},
NaN
);
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment