Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
OpenLAC
ServosAndUtilitiesAllDeprecated
Commits
239d2eb1
Commit
239d2eb1
authored
Oct 02, 2018
by
gepir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed filters so that they can be run iteratively.
parent
09b64a0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/misc_mod.f90
src/misc_mod.f90
+6
-6
No files found.
src/misc_mod.f90
View file @
239d2eb1
...
...
@@ -106,9 +106,9 @@ function lowpass2orderfilt(dt, stepno, filt, x)
y
=
a1
*
filt
%
y1_old
+
a2
*
filt
%
y2_old
+
b0
*
x
+
b1
*
filt
%
x1_old
+
b2
*
filt
%
x2_old
endif
! Save previous values
filt
%
x2
=
filt
%
x1
filt
%
x2
=
filt
%
x1
_old
filt
%
x1
=
x
filt
%
y2
=
filt
%
y1
filt
%
y2
=
filt
%
y1
_old
filt
%
y1
=
y
filt
%
stepno1
=
stepno
! Output
...
...
@@ -154,9 +154,9 @@ function notch2orderfilt(dt,stepno,filt,x)
y
=
a1
*
filt
%
y1_old
+
a2
*
filt
%
y2_old
+
b0
*
x
+
b1
*
filt
%
x1_old
+
b2
*
filt
%
x2_old
endif
! Save previous values
filt
%
x2
=
filt
%
x1
filt
%
x2
=
filt
%
x1
_old
filt
%
x1
=
x
filt
%
y2
=
filt
%
y1
filt
%
y2
=
filt
%
y1
_old
filt
%
y1
=
y
filt
%
stepno1
=
stepno
! Output
...
...
@@ -201,9 +201,9 @@ function bandpassfilt(dt, stepno, filt, x)
y
=
a1
*
filt
%
y1_old
+
a2
*
filt
%
y2_old
+
b0
*
x
+
b1
*
filt
%
x1_old
+
b2
*
filt
%
x2_old
endif
! Save previous values
filt
%
x2
=
filt
%
x1
filt
%
x2
=
filt
%
x1
_old
filt
%
x1
=
x
filt
%
y2
=
filt
%
y1
filt
%
y2
=
filt
%
y1
_old
filt
%
y1
=
y
filt
%
stepno1
=
stepno
! Output
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment