Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bilby
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
Sylvia Biscoveanu
bilby
Commits
b9636986
Commit
b9636986
authored
6 years ago
by
Gregory Ashton
Browse files
Options
Downloads
Patches
Plain Diff
Adds documentation to the time and frequency domain strain
parent
e95b62d6
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
tupak/gw/detector.py
+7
-0
7 additions, 0 deletions
tupak/gw/detector.py
with
7 additions
and
0 deletions
tupak/gw/detector.py
+
7
−
0
View file @
b9636986
...
...
@@ -200,6 +200,7 @@ class InterferometerStrainData(object):
@property
def
time_domain_strain
(
self
):
"""
The time domain strain, in units of strain
"""
if
self
.
_time_domain_strain
is
not
None
:
return
self
.
_time_domain_strain
elif
self
.
_frequency_domain_strain
is
not
None
:
...
...
@@ -213,6 +214,12 @@ class InterferometerStrainData(object):
@property
def
frequency_domain_strain
(
self
):
"""
Returns the frequency domain strain
This is the frequency domain strain normalised to units of
strain / sqrt(Hz), obtained by a one-sided Fourier transform of the
time domain data, divided by the sampling frequency.
"""
if
self
.
_frequency_domain_strain
is
not
None
:
return
self
.
_frequency_domain_strain
*
self
.
frequency_mask
elif
self
.
_time_domain_strain
is
not
None
:
...
...
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