Skip to content
Snippets Groups Projects
Commit b9636986 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Adds documentation to the time and frequency domain strain

parent e95b62d6
No related branches found
No related tags found
1 merge request!94Add functionality to strain data
Pipeline #
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment