Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bilby
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
Container Registry
Model registry
Operate
Environments
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
lscsoft
bilby
Commits
f1d92ae8
Commit
f1d92ae8
authored
6 years ago
by
MoritzThomasHuebner
Browse files
Options
Downloads
Patches
Plain Diff
Added another check
parent
df6f16f4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!156
Resolve "Add tests for the detector module"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tupak/gw/detector.py
+3
-1
3 additions, 1 deletion
tupak/gw/detector.py
with
3 additions
and
1 deletion
tupak/gw/detector.py
+
3
−
1
View file @
f1d92ae8
...
...
@@ -407,6 +407,8 @@ class InterferometerStrainData(object):
@frequency_domain_strain.setter
def
frequency_domain_strain
(
self
,
frequency_domain_strain
):
if
not
len
(
self
.
frequency_array
)
==
len
(
frequency_domain_strain
):
raise
ValueError
(
"
The frequency_array and the set strain have different lengths
"
)
self
.
_frequency_domain_strain
=
frequency_domain_strain
def
add_to_frequency_domain_strain
(
self
,
x
):
...
...
@@ -425,7 +427,7 @@ class InterferometerStrainData(object):
logger
.
info
(
"
Low pass filter frequency of {}Hz requested, this is equal
"
"
or greater than the Nyquist frequency so no filter applied
"
.
format
(
filter_freq
))
.
format
(
filter_freq
))
return
logger
.
debug
(
"
Applying low pass filter with filter frequency {}
"
.
format
(
filter_freq
))
...
...
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