Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gstlal-calibration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Aaron Viets
gstlal-calibration
Commits
5aea3888
Commit
5aea3888
authored
1 year ago
by
Alexander Michael Bartoletti
Browse files
Options
Downloads
Patches
Plain Diff
removed unnecessary CI test
parent
a815fba8
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
tests/tests_pytest/test_pyfilter.py
+0
-69
0 additions, 69 deletions
tests/tests_pytest/test_pyfilter.py
with
0 additions
and
69 deletions
tests/tests_pytest/test_pyfilter.py
deleted
100755 → 0
+
0
−
69
View file @
a815fba8
#!/usr/bin/env python3
# Copyright (C) 2016 Aaron Viets
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
from
gstlalcalibration
import
calibration_parts
from
gstlal
import
pipeparts
from
utils
import
common
#
# =============================================================================
#
# Pipelines
#
# =============================================================================
#
def
pyfilter_test_01
(
pipeline
,
name
):
#
# This test removes the DC component from a stream of ones (i.e., the result should be zero)
#
rate
=
16384
# Hz
buffer_length
=
1.0
# seconds
test_duration
=
10.0
# seconds
DC
=
1.0
wave
=
0
freq
=
90
volume
=
1.0
#
# build pipeline
#
src
=
common
.
test_src
(
pipeline
,
buffer_length
=
buffer_length
,
rate
=
rate
,
freq
=
freq
,
test_duration
=
test_duration
,
wave
=
wave
,
width
=
64
)
head
=
pipeparts
.
mkaudioamplify
(
pipeline
,
src
,
volume
)
head
=
pipeparts
.
mkgeneric
(
pipeline
,
head
,
"
lal_add_constant
"
,
value
=
DC
)
head
=
pipeparts
.
mktee
(
pipeline
,
head
)
pipeparts
.
mknxydumpsink
(
pipeline
,
head
,
"
%s_in.txt
"
%
name
)
head
=
calibration_parts
.
bandstop
(
pipeline
,
head
,
rate
)
pipeparts
.
mknxydumpsink
(
pipeline
,
head
,
"
%s_out.txt
"
%
name
)
#
# done
#
return
pipeline
class
TestPyFilter
:
"""
PyFilter test class
"""
def
test_pyfilter
(
self
):
"""
Test pyfilter
"""
common
.
build_and_run
(
pyfilter_test_01
,
"
pyfilter_test_01
"
)
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