From bf9aff04eaf4550958c4549bd24e45c9ed818f28 Mon Sep 17 00:00:00 2001
From: Moritz Huebner <email@moritz-huebner.de>
Date: Tue, 8 Sep 2020 00:58:02 +1000
Subject: [PATCH] Added `duration`, `sampling_frequency` and `start` time
 properties to the `Interferometer` class

---
 bilby/gw/detector/interferometer.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bilby/gw/detector/interferometer.py b/bilby/gw/detector/interferometer.py
index d90108e11..d6e728898 100644
--- a/bilby/gw/detector/interferometer.py
+++ b/bilby/gw/detector/interferometer.py
@@ -38,6 +38,9 @@ class Interferometer(object):
     vertex = PropertyAccessor('geometry', 'vertex')
     detector_tensor = PropertyAccessor('geometry', 'detector_tensor')
 
+    duration = PropertyAccessor('strain_data', 'duration')
+    sampling_frequency = PropertyAccessor('strain_data', 'sampling_frequency')
+    start_time = PropertyAccessor('strain_data', 'start_time')
     frequency_array = PropertyAccessor('strain_data', 'frequency_array')
     time_array = PropertyAccessor('strain_data', 'time_array')
     minimum_frequency = PropertyAccessor('strain_data', 'minimum_frequency')
-- 
GitLab