Skip to content
Snippets Groups Projects
Commit 65461f4b authored by Colm Talbot's avatar Colm Talbot
Browse files

Merge branch 'master' into calibration

parents cf207cfc d3f16893
No related branches found
No related tags found
1 merge request!113Add calibration
......@@ -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
......
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