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
65461f4b
Commit
65461f4b
authored
6 years ago
by
Colm Talbot
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into calibration
parents
cf207cfc
d3f16893
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!113
Add calibration
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tupak/gw/detector.py
+3
-2
3 additions, 2 deletions
tupak/gw/detector.py
with
3 additions
and
2 deletions
tupak/gw/detector.py
+
3
−
2
View file @
65461f4b
...
...
@@ -305,8 +305,9 @@ class InterferometerStrainData(object):
@property
def
maximum_frequency
(
self
):
"""
Force the maximum frequency be less than the Nyquist frequency
"""
if
2
*
self
.
__maximum_frequency
>
self
.
sampling_frequency
:
self
.
__maximum_frequency
=
self
.
sampling_frequency
/
2.
if
self
.
sampling_frequency
is
not
None
:
if
2
*
self
.
__maximum_frequency
>
self
.
sampling_frequency
:
self
.
__maximum_frequency
=
self
.
sampling_frequency
/
2.
return
self
.
__maximum_frequency
@maximum_frequency.setter
...
...
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