Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stochastic
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Insights
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
stochastic-public
stochastic
Commits
2bb70265
Commit
2bb70265
authored
4 years ago
by
Marie-Anne Bizouard
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of git.ligo.org:stochastic-public/stochastic
parents
4a22f586
c72569a8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CrossCorr/src_cc/stochastic.m
+3
-2
3 additions, 2 deletions
CrossCorr/src_cc/stochastic.m
with
3 additions
and
2 deletions
CrossCorr/src_cc/stochastic.m
+
3
−
2
View file @
2bb70265
...
...
@@ -1154,8 +1154,9 @@ function tseries=downsampleTimeSeries(tseries, resampleRate, nResample, betaPara
% an error.
%
sampleRate
=
1
/
tseries
.
deltaT
;
p
=
1
;
q
=
floor
(
sampleRate
/
resampleRate
);
% p = 1;
% q = floor(sampleRate/resampleRate);
[
p
,
q
]
=
rat
(
resampleRate
/
sampleRate
);
% Resample the time series in-place - if the new sampling rate is
% the same as the old there is no need to do anything
...
...
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